From 4c6511ba3d490f46eecdebb208849094bd7176d2 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 16 Aug 2021 20:35:39 -0600 Subject: [PATCH] Definitely didn't copy/paste --- src/protections/MessageIsVoice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protections/MessageIsVoice.ts b/src/protections/MessageIsVoice.ts index 1daeecc..2bf6f81 100644 --- a/src/protections/MessageIsVoice.ts +++ b/src/protections/MessageIsVoice.ts @@ -38,7 +38,7 @@ export class MessageIsVoice implements IProtection { if (!config.noop) { await mjolnir.client.redactEvent(roomId, event['event_id'], "Voice messages are not permitted here"); } else { - await logMessage(LogLevel.WARN, "FirstMessageIsImage", `Tried to redact ${event['event_id']} in ${roomId} but Mjolnir is running in no-op mode`, roomId); + await logMessage(LogLevel.WARN, "MessageIsVoice", `Tried to redact ${event['event_id']} in ${roomId} but Mjolnir is running in no-op mode`, roomId); } } }