Make aci optional in ContactsParser

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2025-01-08 18:17:45 -06:00
committed by GitHub
parent 55d8c7f061
commit 09ea36ef42

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,