From 5c28063a506d3896242a1c87a0e4bc5dafd15f35 Mon Sep 17 00:00:00 2001 From: tusooa Date: Sat, 15 Aug 2026 00:19:48 -0400 Subject: [PATCH] Fix error dialog when posting in chat --- changelog.d/fix-chat-post.fix | 1 + src/components/chat_view/chat_view.js | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 changelog.d/fix-chat-post.fix diff --git a/changelog.d/fix-chat-post.fix b/changelog.d/fix-chat-post.fix new file mode 100644 index 000000000..60480a1c0 --- /dev/null +++ b/changelog.d/fix-chat-post.fix @@ -0,0 +1 @@ +Fix error dialog when posting in chat diff --git a/src/components/chat_view/chat_view.js b/src/components/chat_view/chat_view.js index 16b2ae1d7..a93a86ba5 100644 --- a/src/components/chat_view/chat_view.js +++ b/src/components/chat_view/chat_view.js @@ -538,11 +538,14 @@ const Chat = { // Event handlers onPosted(data) { - this.explicitReplyStatus = null - this.$router.push({ - name: 'conversation2', - params: { statusId: data.id }, - }) + // only conversation poster has the returned data + if (this.isConversation) { + this.explicitReplyStatus = null + this.$router.push({ + name: 'conversation2', + params: { statusId: data.id }, + }) + } }, handleVisibilityChange() { this.$nextTick(() => {