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

Fix jump to bottom on message send #7280

Merged
merged 4 commits into from
Dec 6, 2021
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/structures/RoomView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
}

case "scroll_to_bottom":
if (payload.timelineRenderingType === this.context.timelineRenderingType) {
if (payload.timelineRenderingType === TimelineRenderingType.Room) {
this.messagePanel?.jumpToLiveTimeline();
}
break;
Expand Down