You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Revert "Remove unnecessary check"
This reverts commit 08c0f0a67e.
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -514,7 +514,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
||||
const room = this.matrixClient?.getRoom(payload.room_id);
|
||||
|
||||
// persist last viewed room from a space
|
||||
if (room) {
|
||||
if (room && !room.isSpaceRoom()) {
|
||||
window.localStorage.setItem(getLastViewedRoomsStorageKey(this.activeSpace), payload.room_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user