mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Fix jump to bottom button working when on a permalink (#7494)
This commit is contained in:
parent
9562deb28c
commit
474cbf4c09
@ -407,6 +407,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
|
|||||||
showAvatarChanges: SettingsStore.getValue("showAvatarChanges", roomId),
|
showAvatarChanges: SettingsStore.getValue("showAvatarChanges", roomId),
|
||||||
showDisplaynameChanges: SettingsStore.getValue("showDisplaynameChanges", roomId),
|
showDisplaynameChanges: SettingsStore.getValue("showDisplaynameChanges", roomId),
|
||||||
wasContextSwitch: RoomViewStore.getWasContextSwitch(),
|
wasContextSwitch: RoomViewStore.getWasContextSwitch(),
|
||||||
|
initialEventId: null, // default to clearing this, will get set later in the method if needed
|
||||||
};
|
};
|
||||||
|
|
||||||
const initialEventId = RoomViewStore.getInitialEventId();
|
const initialEventId = RoomViewStore.getInitialEventId();
|
||||||
|
Loading…
Reference in New Issue
Block a user