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 // Event handlers
onPosted(data) { onPosted(data) {
this.explicitReplyStatus = null // only conversation poster has the returned data
this.$router.push({ if (this.isConversation) {
name: 'conversation2', this.explicitReplyStatus = null
params: { statusId: data.id }, this.$router.push({
}) name: 'conversation2',
params: { statusId: data.id },
})
}
}, },
handleVisibilityChange() { handleVisibilityChange() {
this.$nextTick(() => { this.$nextTick(() => {