update router when posting in chat conversation view to trigger scroll

This commit is contained in:
Henry Jameson 2026-07-23 15:47:27 +03:00
commit f16aff06f6
2 changed files with 7 additions and 0 deletions

View file

@ -635,6 +635,12 @@ const conversation = {
this.unsuspendibleIds.delete(id) this.unsuspendibleIds.delete(id)
} }
}, },
onPosted(data) {
this.explicitReplyStatus = null
if (this.isPage) {
this.$router.push({ name: 'conversation', params: { id: data.id } })
}
}
}, },
} }

View file

@ -244,6 +244,7 @@
disable-quotes disable-quotes
mentions-line mentions-line
mentions-line-read-only mentions-line-read-only
@posted="onPosted"
/> />
</div> </div>
</div> </div>