Generate hash on avatar attachment bytes only

Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-09-09 17:04:04 -05:00 committed by GitHub
parent 65951fc306
commit ac0e40fac4
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