Update src/stores/SpaceStore.tsx
Co-authored-by: Travis Ralston <travisr@matrix.org>
This commit is contained in:
parent
87c9551507
commit
919270ff0c
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
|||
|
||||
private onRoom = (room: Room, newMembership?: string, oldMembership?: string) => {
|
||||
const roomMembership = room.getMyMembership();
|
||||
if (roomMembership === null) {
|
||||
if (!roomMembership) {
|
||||
// room is still being baked in the js-sdk, we'll process it at Room.myMembership instead
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue