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

Commit 474cbf4

Browse files
authored
Fix jump to bottom button working when on a permalink (#7494)
1 parent 9562deb commit 474cbf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/structures/RoomView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
407407
showAvatarChanges: SettingsStore.getValue("showAvatarChanges", roomId),
408408
showDisplaynameChanges: SettingsStore.getValue("showDisplaynameChanges", roomId),
409409
wasContextSwitch: RoomViewStore.getWasContextSwitch(),
410+
initialEventId: null, // default to clearing this, will get set later in the method if needed
410411
};
411412

412413
const initialEventId = RoomViewStore.getInitialEventId();

0 commit comments

Comments
 (0)