Merge 13130f37d7 into 09be5d45d5
This commit is contained in:
commit
b00bea8db3
@ -9,7 +9,7 @@ export function normalizeSignalMessagingTarget(raw: string): string | undefined
|
|||||||
const lower = normalized.toLowerCase();
|
const lower = normalized.toLowerCase();
|
||||||
if (lower.startsWith("group:")) {
|
if (lower.startsWith("group:")) {
|
||||||
const id = normalized.slice("group:".length).trim();
|
const id = normalized.slice("group:".length).trim();
|
||||||
return id ? `group:${id}`.toLowerCase() : undefined;
|
return id ? `group:${id}` : undefined;
|
||||||
}
|
}
|
||||||
if (lower.startsWith("username:")) {
|
if (lower.startsWith("username:")) {
|
||||||
const id = normalized.slice("username:".length).trim();
|
const id = normalized.slice("username:".length).trim();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user