diff --git a/src/components/structures/RoomView.tsx b/src/components/structures/RoomView.tsx index d4c45cdb76..5f3f3413a0 100644 --- a/src/components/structures/RoomView.tsx +++ b/src/components/structures/RoomView.tsx @@ -929,7 +929,7 @@ export class RoomView extends React.Component { } case "scroll_to_bottom": - if (payload.timelineRenderingType === this.context.timelineRenderingType) { + if (payload.timelineRenderingType === TimelineRenderingType.Room) { this.messagePanel?.jumpToLiveTimeline(); } break;