Split ACI contact when it is unregistered

This commit is contained in:
Fedor Indutny 2023-02-01 13:32:46 -08:00 committed by GitHub
parent a5a6b74f98
commit 63d6b14516
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 317 additions and 81 deletions

View file

@ -36,7 +36,7 @@ describe('updateConversationsWithUuidLookup', () => {
aci?: string | null;
reason?: string;
}): {
conversation: ConversationModel | undefined;
conversation: ConversationModel;
mergePromises: Array<Promise<void>>;
} {
assert(
@ -75,8 +75,7 @@ describe('updateConversationsWithUuidLookup', () => {
return { conversation: convoE164, mergePromises: [] };
}
assert.fail('FakeConversationController should never get here');
return { conversation: undefined, mergePromises: [] };
throw new Error('FakeConversationController should never get here');
}
lookupOrCreate({