diff --git a/src/index.ts b/src/index.ts index 50d790d..85aba50 100644 --- a/src/index.ts +++ b/src/index.ts @@ -480,11 +480,7 @@ async function main(): Promise { const channelOpts = { onMessage: (chatJid: string, msg: NewMessage) => { // Sender allowlist drop mode: discard messages from denied senders before storing - if ( - !msg.is_from_me && - !msg.is_bot_message && - registeredGroups[chatJid] - ) { + if (!msg.is_from_me && !msg.is_bot_message && registeredGroups[chatJid]) { const cfg = loadSenderAllowlist(); if ( shouldDropMessage(chatJid, cfg) &&