excluded 'leave' membership to fix the issue that events are not received by widget after re-invite

pull/28788/head^2
Mikhail Aheichyk 2023-01-12 14:37:23 +03:00
parent 0d7152a8d9
commit 4f68742076
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ export class StopGapWidget extends EventEmitter {
const evId = ev.getId();
if (evRoomId && evId) {
const room = this.client.getRoom(evRoomId);
if (room && room.getMyMembership() !== "invite") {
if (room && room.getMyMembership() === "join") {
this.readUpToMap[evRoomId] = evId;
}
}