fix (signal): preserve case for group target normalization

This commit is contained in:
Vignesh Natarajan
2026-02-14 18:59:32 -08:00
parent 2690dfa77b
commit 8647a1ebed

View File

@@ -13,7 +13,8 @@ export function normalizeSignalMessagingTarget(raw: string): string | undefined
const lower = normalized.toLowerCase();
if (lower.startsWith("group:")) {
const id = normalized.slice("group:".length).trim();
return id ? `group:${id}`.toLowerCase() : undefined;
// Signal group IDs are base64-like and case-sensitive. Preserve ID casing.
return id ? `group:${id}` : undefined;
}
if (lower.startsWith("username:")) {
const id = normalized.slice("username:".length).trim();