mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-10-10 09:29:30 +01:00
Generate hash on avatar attachment bytes only
This commit is contained in:
1 parent
a3e8634996
commit
1d199cfff6
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user