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

Commit

Permalink
Fix jump to bottom on message send (#7280)
Browse files Browse the repository at this point in the history
Co-authored-by: Germain <[email protected]>
  • Loading branch information
SimonBrandner and germain-gg authored Dec 6, 2021
1 parent 9bcb82d commit 5e19009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/structures/RoomView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,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

0 comments on commit 5e19009

Please sign in to comment.