fix: tidy iMessage/Signal sender envelopes (#1080) - thanks @tyler6204

Co-authored-by: Tyler Yust <TYTYYUST@YAHOO.COM>
This commit is contained in:
Peter Steinberger
2026-01-17 08:29:13 +00:00
parent d0bc08a934
commit ab49fe0e92
4 changed files with 7 additions and 5 deletions

View File

@@ -65,8 +65,8 @@ export function createSignalEventHandler(deps: SignalEventHandlerDeps) {
};
async function handleSignalInboundMessage(entry: SignalInboundEntry) {
// For groups: use group name or just "Group" (channel "Signal" is already shown)
// For DMs: show sender, only add id: suffix if display differs from name
// For groups: use group name or just "Group" (channel "Signal" is already shown).
// For DMs: keep headers compact; only add id: suffix if display differs from name.
const fromLabel = entry.isGroup
? `${entry.groupName || "Group"} id:${entry.groupId}`
: entry.senderName === entry.senderDisplay