From e05e55ef943aad92d940ecbe1efb0d0e85ee1971 Mon Sep 17 00:00:00 2001 From: gnuxie Date: Sun, 18 Feb 2024 13:48:41 +0000 Subject: [PATCH] Fix bug where poller only showed reports from protected rooms. Was introduced in https://github.com/matrix-org/mjolnir/pull/371 for whatever reason. --- src/report/ReportPoller.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/report/ReportPoller.ts b/src/report/ReportPoller.ts index b81994c3..4ba35b97 100644 --- a/src/report/ReportPoller.ts +++ b/src/report/ReportPoller.ts @@ -109,9 +109,6 @@ export class ReportPoller { continue; } const report = reportResult.ok; - if (!this.draupnir.protectedRoomsSet.isProtectedRoom(report.room_id)) { - continue; - } // FIXME: shouldn't we have a SafeMatrixSendClient in the BotSDKMPS that gives us ActionResult's with // Decoded events. // Problem is that our current event model isn't going to match up with extensible events.