We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5021cf0 commit 740a682Copy full SHA for 740a682
src/store/memory.ts
@@ -185,7 +185,7 @@ export class MemoryStore implements IStore {
185
*/
186
public removeRoom(roomId: string): void {
187
if (this.rooms[roomId]) {
188
- this.rooms[roomId].removeListener("RoomState.members", this.onRoomMember);
+ this.rooms[roomId].currentState.removeListener("RoomState.members", this.onRoomMember);
189
}
190
delete this.rooms[roomId];
191
0 commit comments