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

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