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
+1 -3
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,