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,