style nits

pull/7/head
sachaaaaa 7 years ago
parent 826bbe9631
commit 5e9f4177ff

@ -214,11 +214,11 @@ OutgoingMessage.prototype = {
path: '/api/v1/message', path: '/api/v1/message',
body: messageEnvelope.encode().toArrayBuffer() body: messageEnvelope.encode().toArrayBuffer()
}); });
const protomessage = new textsecure.protobuf.WebSocketMessage({ const websocketMessage = new textsecure.protobuf.WebSocketMessage({
type: textsecure.protobuf.WebSocketMessage.Type.REQUEST, type: textsecure.protobuf.WebSocketMessage.Type.REQUEST,
request: requestMessage request: requestMessage
}); });
const bytes = new Uint8Array(protomessage.encode().toArrayBuffer()) const bytes = new Uint8Array(websocketMessage.encode().toArrayBuffer())
return bytes; return bytes;
}, },
doSendMessage(number, deviceIds, recurse) { doSendMessage(number, deviceIds, recurse) {

Loading…
Cancel
Save