Make aci optional in ContactsParser

This commit is contained in:
Fedor Indutny 2025-01-08 11:41:03 -08:00 committed by GitHub
parent 8b4d82c9fe
commit e915180a62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,