diff --git a/libtextsecure/message_receiver.js b/libtextsecure/message_receiver.js index b236ee9ed..545cfcf25 100644 --- a/libtextsecure/message_receiver.js +++ b/libtextsecure/message_receiver.js @@ -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);