summaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-06-22 10:42:10 +0200
committerJoas Schilling <coding@schilljs.com>2021-06-22 10:42:10 +0200
commit0b4f5c85b275727faa2d9df3834c51830a96da2f (patch)
treebad8fcb5d94ac65bbe3391298b15657255aff88e /src/components
parent0c970337de21573fe0edeeeb7d16729c6fa3b38b (diff)
Fix scrolling to bottom in already read conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components')
-rw-r--r--src/components/MessagesList/MessagesList.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/MessagesList/MessagesList.vue b/src/components/MessagesList/MessagesList.vue
index 0fb5c9383..f64bf1c6d 100644
--- a/src/components/MessagesList/MessagesList.vue
+++ b/src/components/MessagesList/MessagesList.vue
@@ -485,6 +485,7 @@ export default {
if (loadOldMessages) {
// Gets the history of the conversation.
await this.getOldMessages(true)
+ this.scrollToFocussedMessage()
}
// Once the history is received, starts looking for new messages.