From 0b53b6379754268a05c7b436d9def4c926ab5e42 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Mon, 30 Sep 2024 23:57:07 +0200 Subject: [PATCH] fix erroneous 'reply target is nonexistent' errors when using the user profile mention button --- src/services/api/api.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js index 83155dc7..5d56259c 100644 --- a/src/services/api/api.service.js +++ b/src/services/api/api.service.js @@ -901,7 +901,7 @@ const postStatus = ({ form.append('poll[options][]', option) }) } - if (inReplyToStatusId) { + if (inReplyToStatusId && typeof inReplyToStatusId === 'string') { form.append('in_reply_to_id', inReplyToStatusId) } if (quoteId) {