Merge pull request 'Fix error dialog when posting in chat' (#3558) from tusooa/pleroma-fe:tusooa/fix-chat-post into develop

Reviewed-on: https://git.pleroma.social/pleroma/pleroma-fe/pulls/3558
This commit is contained in:
HJ 2026-08-16 13:12:02 +00:00
commit eaadcb3e95
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(() => {