fix: format src/index.ts to pass CI prettier check (#711)

Closes #710

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
glifocat
2026-03-04 19:51:40 +01:00
committed by GitHub
parent 5aed615ac5
commit df2bac61f0

View File

@@ -480,11 +480,7 @@ async function main(): Promise<void> {
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) &&