From 5e9f4177ff78c697327bf36fcc4168da2f41d9a2 Mon Sep 17 00:00:00 2001 From: sachaaaaa Date: Mon, 8 Oct 2018 15:03:32 +1100 Subject: [PATCH] style nits --- libtextsecure/outgoing_message.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtextsecure/outgoing_message.js b/libtextsecure/outgoing_message.js index f196fabc4..25915c630 100644 --- a/libtextsecure/outgoing_message.js +++ b/libtextsecure/outgoing_message.js @@ -214,11 +214,11 @@ OutgoingMessage.prototype = { path: '/api/v1/message', body: messageEnvelope.encode().toArrayBuffer() }); - const protomessage = new textsecure.protobuf.WebSocketMessage({ + const websocketMessage = new textsecure.protobuf.WebSocketMessage({ type: textsecure.protobuf.WebSocketMessage.Type.REQUEST, request: requestMessage }); - const bytes = new Uint8Array(protomessage.encode().toArrayBuffer()) + const bytes = new Uint8Array(websocketMessage.encode().toArrayBuffer()) return bytes; }, doSendMessage(number, deviceIds, recurse) {