Fix error dialog when posting in chat

This commit is contained in:
tusooa 2026-08-15 00:19:48 -04:00
commit 5c28063a50
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
2 changed files with 9 additions and 5 deletions

View file

@ -0,0 +1 @@
Fix error dialog when posting in chat

View file

@ -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(() => {