Pass ciphertext as ArrayBuffer instead of string
// FREEBIE
This commit is contained in:
parent
6053fe67ba
commit
c02054d5da
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
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) {
|
||||
|
|
Loading…
Reference in a new issue