You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Fix jump to bottom button working when on a permalink (#7494)
This commit is contained in:
committed by
GitHub
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();
|
||||||
|
|||||||
Reference in New Issue
Block a user