Fix jump to bottom button working when on a permalink (#7494)

pull/21833/head
Michael Telatynski 2022-01-10 11:34:27 +00:00 committed by GitHub
parent 9562deb28c
commit 474cbf4c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -407,6 +407,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
showAvatarChanges: SettingsStore.getValue("showAvatarChanges", roomId),
showDisplaynameChanges: SettingsStore.getValue("showDisplaynameChanges", roomId),
wasContextSwitch: RoomViewStore.getWasContextSwitch(),
initialEventId: null, // default to clearing this, will get set later in the method if needed
};
const initialEventId = RoomViewStore.getInitialEventId();