jumpToLiveTimeline() on scroll_to_bottom

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-03-18 18:01:50 +01:00
parent e223235999
commit a4a3b4da78
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 3 additions and 0 deletions

View File

@ -463,6 +463,9 @@ class TimelinePanel extends React.Component {
} }
}); });
} }
if (payload.action === "scroll_to_bottom") {
this.jumpToLiveTimeline();
}
}; };
onRoomTimeline = (ev, room, toStartOfTimeline, removed, data) => { onRoomTimeline = (ev, room, toStartOfTimeline, removed, data) => {