signal-desktop/ts/util/callLinkRootKeyToUrl.ts
2024-02-22 13:19:50 -08:00

10 lines
249 B
TypeScript

// 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}`;
}