Fix room list handling of membership changes (#31197)
* Fix room list handling of membership changes Including knock->invite for ask to join Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * lint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
39a5cca737
commit
f6e85a38d2
@@ -260,7 +260,7 @@ export class RoomListStoreV3Class extends AsyncStoreWithClient<EmptyObject> {
|
||||
}
|
||||
}
|
||||
|
||||
this.addRoomAndEmit(payload.room, true);
|
||||
this.addRoomAndEmit(payload.room, oldMembership === EffectiveMembership.Leave);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user