You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
clear out of band members in store when leaving room
This commit is contained in:
@@ -1106,6 +1106,7 @@ SyncApi.prototype._processSyncResponse = async function(
|
||||
leaveRooms.forEach(function(leaveObj) {
|
||||
const room = leaveObj.room;
|
||||
room.setSyncedMembership("leave");
|
||||
room.onLeft();
|
||||
|
||||
const stateEvents =
|
||||
self._mapSyncEventsFormat(leaveObj.state, room);
|
||||
|
||||
Reference in New Issue
Block a user