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:
@@ -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) &&
|
||||
|
||||
Reference in New Issue
Block a user