mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-08-28 22:08:31 +00:00
Only inform protected rooms set of protected rooms.
This commit is contained in:
@@ -170,6 +170,9 @@ export class Draupnir implements Client {
|
||||
Task(this.joinOnInviteListener(roomID, event));
|
||||
this.managementRoomMessageListener(roomID, event);
|
||||
this.reactionHandler.handleEvent(roomID, event);
|
||||
if (this.protectedRoomsSet.isProtectedRoom(roomID)) {
|
||||
this.protectedRoomsSet.handleTimelineEvent(roomID, event);
|
||||
}
|
||||
}
|
||||
|
||||
private managementRoomMessageListener(roomID: StringRoomID, event: RoomEvent): void {
|
||||
|
||||
Reference in New Issue
Block a user