We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e033d53 commit 903a7b6Copy full SHA for 903a7b6
src/protections/RoomTakedown/RoomDiscovery.ts
@@ -131,10 +131,8 @@ export class SynapseHTTPAntispamRoomDiscovery
131
this: SynapseHTTPAntispamRoomDiscovery,
132
{ event }: CheckEventForSpamRequestBody
133
): void {
134
- if (event.type === "m.room.member") {
135
- if (!this.discoveredRooms.has(event.room_id)) {
136
- this.batcher.add(event.room_id);
137
- }
+ if (!this.discoveredRooms.has(event.room_id)) {
+ this.batcher.add(event.room_id);
138
}
139
}.bind(this);
140
0 commit comments