Skip to content

Commit a4a3b4d

Browse files
committed
jumpToLiveTimeline() on scroll_to_bottom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
1 parent e223235 commit a4a3b4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/structures/TimelinePanel.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,9 @@ class TimelinePanel extends React.Component {
463463
}
464464
});
465465
}
466+
if (payload.action === "scroll_to_bottom") {
467+
this.jumpToLiveTimeline();
468+
}
466469
};
467470

468471
onRoomTimeline = (ev, room, toStartOfTimeline, removed, data) => {

0 commit comments

Comments
 (0)