From e915180a62fc24610175908f901de2d267827716 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 8 Jan 2025 11:41:03 -0800 Subject: [PATCH] Make aci optional in ContactsParser --- ts/textsecure/ContactsParser.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ts/textsecure/ContactsParser.ts b/ts/textsecure/ContactsParser.ts index 75882c3236..cc2c7553e6 100644 --- a/ts/textsecure/ContactsParser.ts +++ b/ts/textsecure/ContactsParser.ts @@ -206,9 +206,7 @@ function prepareContact( return undefined; } - const aci = proto.aci - ? normalizeAci(proto.aci, 'ContactBuffer.aci') - : proto.aci; + const aci = proto.aci ? normalizeAci(proto.aci, 'ContactBuffer.aci') : null; const result = { ...proto,