From 09ea36ef428d642d94e172b7aa7f34212e335fb0 Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Wed, 8 Jan 2025 18:17:45 -0600 Subject: [PATCH] Make aci optional in ContactsParser Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> --- 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,