Fix jump to bottom on message send (#7280)

Co-authored-by: Germain <germain@souquet.com>
pull/21833/head
Šimon Brandner 2021-12-06 15:32:15 +01:00 committed by GitHub
parent 9bcb82d6dc
commit 5e19009e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;