Notifications for a few merge-related scenarios
This commit is contained in:
parent
78ce34b9d3
commit
a49a6f2057
40 changed files with 2764 additions and 553 deletions
|
@ -76,13 +76,14 @@ export async function lookupConversationWithoutUuid(
|
|||
const maybePair = serverLookup.get(options.e164);
|
||||
|
||||
if (maybePair) {
|
||||
const convo = window.ConversationController.maybeMergeContacts({
|
||||
aci: maybePair.aci,
|
||||
pni: maybePair.pni,
|
||||
e164: options.e164,
|
||||
reason: 'startNewConversationWithoutUuid(e164)',
|
||||
});
|
||||
conversationId = convo?.id;
|
||||
const { conversation } =
|
||||
window.ConversationController.maybeMergeContacts({
|
||||
aci: maybePair.aci,
|
||||
pni: maybePair.pni,
|
||||
e164: options.e164,
|
||||
reason: 'startNewConversationWithoutUuid(e164)',
|
||||
});
|
||||
conversationId = conversation?.id;
|
||||
}
|
||||
} else {
|
||||
const foundUsername = await checkForUsername(options.username);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue