There was an error while loading. Please reload this page.
1 parent 2f2067e commit e6bf67aCopy full SHA for e6bf67a
src/stores/spaces/SpaceStore.ts
@@ -929,6 +929,8 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
929
this._suggestedRooms = this._suggestedRooms.filter((r) => r.room_id !== room.roomId);
930
if (numSuggestedRooms !== this._suggestedRooms.length) {
931
this.emit(UPDATE_SUGGESTED_ROOMS, this._suggestedRooms);
932
+ // If the suggested room was present in the list then we know we don't need to switch space
933
+ return;
934
}
935
936
// if the room currently being viewed was just joined then switch to its related space
0 commit comments