Fix message_receiver not able to convert ArrayBuffer to stringBase64 in addToCache

pull/6/head
sachaaaaa 7 years ago
parent 2631d195fd
commit 6b998d79a7

@ -269,7 +269,7 @@ MessageReceiver.prototype.extend({
return;
}
const promise = Promise.resolve(request.body) //textsecure.crypto
const promise = Promise.resolve(request.body.toArrayBuffer()) //textsecure.crypto
//.decryptWebsocketMessage(request.body, this.signalingKey)
.then(plaintext => {
const envelope = textsecure.protobuf.Envelope.decode(plaintext);

Loading…
Cancel
Save