fix (signal): preserve case for group target normalization
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user