diff --git a/src/protections/MessageIsMedia.ts b/src/protections/MessageIsMedia.ts index 265ea4d6..fd8f44d8 100644 --- a/src/protections/MessageIsMedia.ts +++ b/src/protections/MessageIsMedia.ts @@ -110,7 +110,7 @@ export class MessageIsMediaProtection `Redacting event from ${event["sender"]} for posting an image/video. ${Permalinks.forEvent(roomID, event["event_id"], [userServerName(this.draupnir.clientUserID)])}` ); // Redact the event - if (this.draupnir.config.noop) { + if (!this.draupnir.config.noop) { await this.eventConsequences.consequenceForEvent( roomID, event["event_id"],