Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5e19009

Browse files
Fix jump to bottom on message send (#7280)
Co-authored-by: Germain <[email protected]>
1 parent 9bcb82d commit 5e19009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/RoomView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
929929
}
930930

931931
case "scroll_to_bottom":
932-
if (payload.timelineRenderingType === this.context.timelineRenderingType) {
932+
if (payload.timelineRenderingType === TimelineRenderingType.Room) {
933933
this.messagePanel?.jumpToLiveTimeline();
934934
}
935935
break;

0 commit comments

Comments
 (0)