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 button working when on a permalink (#7494)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Jan 10, 2022
1 parent 9562deb commit 474cbf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/structures/RoomView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 474cbf4

Please sign in to comment.