style: apply biome formatting

This commit is contained in:
Peter Steinberger
2025-12-23 02:49:49 +01:00
parent 6fad79f581
commit a5f4332f21
6 changed files with 11 additions and 10 deletions

View File

@@ -473,7 +473,9 @@ function describeReplyContext(rawMessage: proto.IMessage | undefined): {
const body = extractText(quoted) ?? extractMediaPlaceholder(quoted);
if (!body) return null;
const senderJid = contextInfo?.participant ?? undefined;
const senderE164 = senderJid ? jidToE164(senderJid) ?? senderJid : undefined;
const senderE164 = senderJid
? (jidToE164(senderJid) ?? senderJid)
: undefined;
const sender = senderE164 ?? "unknown sender";
return {
id: contextInfo?.stanzaId ? String(contextInfo.stanzaId) : undefined,