This commit is contained in:
mikhail.aheichyk 2022-12-20 12:20:40 +03:00
parent 71d06b4d59
commit e0b6e52d9c
3 changed files with 63 additions and 48 deletions

View file

@ -524,7 +524,7 @@ export class StopGapWidget extends EventEmitter {
// invitation room will assign it and new state events will be not forwarded to the widget
// because of empty timeline for invitation room and assigned marker.
const room = this.client.getRoom(ev.getRoomId());
if (room && room.getMyMembership() !== 'invite') {
if (room && room.getMyMembership() !== "invite") {
this.readUpToMap[ev.getRoomId()] = ev.getId();
}