Reduce loading time when switching channels (#6118)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2024-07-23 11:57:06 +04:00 committed by GitHub
parent 8163a30b77
commit c443cc60bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -440,8 +440,8 @@
shouldWaitAndRead = true shouldWaitAndRead = true
autoscroll = true autoscroll = true
shouldScrollToNew = true shouldScrollToNew = true
isInitialScrolling = false
waitLastMessageRenderAndRead(() => { waitLastMessageRenderAndRead(() => {
isInitialScrolling = false
autoscroll = false autoscroll = false
}) })
} else if (separatorElement) { } else if (separatorElement) {