Handle home space

This commit is contained in:
Jaiwanth 2021-05-05 13:24:06 +05:30
parent bcd1005e3c
commit d3fc047b58

View file

@ -132,7 +132,8 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
}); });
} }
return; return;
} } else if (space === this.activeSpace) return;
this._activeSpace = space; this._activeSpace = space;
this.emit(UPDATE_SELECTED_SPACE, this.activeSpace); this.emit(UPDATE_SELECTED_SPACE, this.activeSpace);
this.emit(SUGGESTED_ROOMS, this._suggestedRooms = []); this.emit(SUGGESTED_ROOMS, this._suggestedRooms = []);