From 9fb37cbf93953dd72c939ef9ed7b0feee51048f4 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 6 Jan 2026 18:32:48 +0000 Subject: [PATCH] style: format whatsapp inbound allowlist --- src/web/inbound.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/web/inbound.ts b/src/web/inbound.ts index 39b654e53..c72ff43d2 100644 --- a/src/web/inbound.ts +++ b/src/web/inbound.ts @@ -192,13 +192,9 @@ export async function monitorWebInbox(options: { new Set([...(configuredAllowFrom ?? []), ...storeAllowFrom]), ); const defaultAllowFrom = - combinedAllowFrom.length === 0 && selfE164 - ? [selfE164] - : undefined; + combinedAllowFrom.length === 0 && selfE164 ? [selfE164] : undefined; const allowFrom = - combinedAllowFrom.length > 0 - ? combinedAllowFrom - : defaultAllowFrom; + combinedAllowFrom.length > 0 ? combinedAllowFrom : defaultAllowFrom; const groupAllowFrom = account.groupAllowFrom ?? (configuredAllowFrom && configuredAllowFrom.length > 0