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

@ -964,10 +964,6 @@ export async function mergeContactRecord(
reason: 'mergeContactRecord',
});
if (!conversation) {
throw new Error(`No conversation for ${storageID}`);
}
// We're going to ignore this; it's likely a PNI-only contact we've already merged
if (conversation.get('uuid') !== uuid) {
log.warn(