Generate hash on avatar attachment bytes only

This commit is contained in:
trevor-signal authored and GitHub committed 2024-09-06 05:28:08 +10:00
1 parent a3e8634996
commit 1d199cfff6
1 file changed
+1 -1
+1 -1
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