Fix jump to bottom button working when on a permalink (#7494)
This commit is contained in:
@@ -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