signal-desktop/ts/util/callLinkRootKeyToUrl.ts

11 lines
249 B
TypeScript
Raw Normal View History

2024-02-22 21:19:50 +00:00
// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export function callLinkRootKeyToUrl(rootKey: string): string | undefined {
if (!rootKey) {
return;
}
return `https://signal.link/call/#key=${rootKey}`;
}