fix: trim sender ids before auth fallback

This commit is contained in:
Peter Steinberger
2026-01-12 06:39:14 +00:00
parent 5a2688c7b5
commit c2e37c78ff
5 changed files with 98 additions and 2 deletions

View File

@@ -1291,7 +1291,7 @@ export async function monitorWebProvider(
msg.senderE164,
),
SenderName: msg.senderName,
SenderId: msg.senderJid ?? msg.senderE164,
SenderId: msg.senderJid?.trim() || msg.senderE164,
SenderE164: msg.senderE164,
WasMentioned: msg.wasMentioned,
...(msg.location ? toLocationContext(msg.location) : {}),