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 1 commit
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 === this.state.timelineRenderingType) {
SimonBrandner marked this conversation as resolved.
Show resolved Hide resolved
this.messagePanel?.jumpToLiveTimeline();
}
break;
Expand Down