Fix bug where poller only showed reports from protected rooms.

Was introduced in https://github.com/matrix-org/mjolnir/pull/371
for whatever reason.
This commit is contained in:
gnuxie
2024-04-06 20:03:36 +01:00
parent bc673927e3
commit e05e55ef94
-3
View File
@@ -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.