mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 02:48:23 +01:00
Cleanup attachment attributes
Convert attachment ids from longs to strings, and byte buffers to arrays. // FREEBIE
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
var mac = encryptedBin.slice(encryptedBin.byteLength - 32, encryptedBin.byteLength);
|
||||
|
||||
return verifyMAC(ivAndCiphertext, mac_key, mac, 32).then(function() {
|
||||
if (theirDigest !== undefined) {
|
||||
if (theirDigest !== null) {
|
||||
return verifyDigest(encryptedBin, theirDigest);
|
||||
}
|
||||
}).then(function() {
|
||||
|
||||
Reference in New Issue
Block a user