Pass ciphertext as ArrayBuffer instead of string
// FREEBIE
This commit is contained in:
@@ -35299,7 +35299,7 @@ axolotlInternal.RecipientRecord = function() {
|
||||
window.textsecure.protocol_wrapper = {
|
||||
decryptWhisperMessage: function(fromAddress, blob) {
|
||||
return queueJobForNumber(fromAddress, function() {
|
||||
return axolotlInstance.decryptWhisperMessage(fromAddress, getString(blob));
|
||||
return axolotlInstance.decryptWhisperMessage(fromAddress, blob.toArrayBuffer());
|
||||
});
|
||||
},
|
||||
closeOpenSessionForDevice: function(encodedNumber) {
|
||||
|
Reference in New Issue
Block a user