Sync my stories with primary device
This commit is contained in:
parent
7554d8326a
commit
9155784d56
67 changed files with 2954 additions and 1238 deletions
11
ts/util/getSendTarget.ts
Normal file
11
ts/util/getSendTarget.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Copyright 2022 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type { ConversationAttributesType } from '../model-types.d';
|
||||
|
||||
export function getSendTarget({
|
||||
uuid,
|
||||
e164,
|
||||
}: Pick<ConversationAttributesType, 'uuid' | 'e164'>): string | undefined {
|
||||
return uuid || e164;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue