Updated dependencies

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-11-19 13:20:34 +05:30
parent 5b0f95fed9
commit f628a6c3d6
5 changed files with 94 additions and 188 deletions

View file

@ -271,6 +271,7 @@ function RoomViewContent({
};
const handleScrollToLive = () => {
trySendingReadReceipt();
scroll.from = roomTimeline.timeline.size - scroll.limit - 1;
if (scroll.from < 0) scroll.from = 0;
scroll.isNewEvent = true;