mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-09 00:30:28 +03:00
Added RoomOptions component (#25)
This commit is contained in:
parent
652f8227b5
commit
80551124f1
11 changed files with 322 additions and 3 deletions
|
|
@ -386,6 +386,7 @@ class RoomList extends EventEmitter {
|
|||
|
||||
const lastTimelineEvent = room.timeline[room.timeline.length - 1];
|
||||
if (lastTimelineEvent.getId() !== event.getId()) return;
|
||||
if (event.getSender() === this.matrixClient.getUserId()) return;
|
||||
this.emit(cons.events.roomList.EVENT_ARRIVED, room.roomId);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue