message: excluded 'leave' membership to fix the issue that events are not received by widget after re-invite
diff: @@ -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;
  }
  }
  