Generate hash on avatar attachment bytes only

This commit is contained in:
trevor-signal 2024-09-05 15:28:08 -04:00 committed by GitHub
parent a3e8634996
commit 1d199cfff6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,7 +146,7 @@ export class ParseContactsTransform extends Transform {
reader.pos,
reader.pos + attachmentSize
);
const hash = computeHash(data);
const hash = computeHash(avatarData);
const local =
// eslint-disable-next-line no-await-in-loop