From 7c81e4ed2e274509adba969991277d8bad9380b6 Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 5 Oct 2016 21:15:58 +0900 Subject: [PATCH] Delete extra space --- js/libtextsecure.js | 2 +- libtextsecure/outgoing_message.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 4501de6ec6ea..3ee30e82f7c5 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -38760,7 +38760,7 @@ OutgoingMessage.prototype = { var updateDevices = []; return Promise.all(deviceIds.map(function(deviceId) { var address = new libsignal.SignalProtocolAddress(number, deviceId); - var sessionCipher = new libsignal.SessionCipher(textsecure.storage.protocol, address); + var sessionCipher = new libsignal.SessionCipher(textsecure.storage.protocol, address); return sessionCipher.hasOpenSession().then(function(hasSession) { if (!hasSession) { updateDevices.push(deviceId); diff --git a/libtextsecure/outgoing_message.js b/libtextsecure/outgoing_message.js index 95a0e15407b5..ac78ea4c3e17 100644 --- a/libtextsecure/outgoing_message.js +++ b/libtextsecure/outgoing_message.js @@ -187,7 +187,7 @@ OutgoingMessage.prototype = { var updateDevices = []; return Promise.all(deviceIds.map(function(deviceId) { var address = new libsignal.SignalProtocolAddress(number, deviceId); - var sessionCipher = new libsignal.SessionCipher(textsecure.storage.protocol, address); + var sessionCipher = new libsignal.SessionCipher(textsecure.storage.protocol, address); return sessionCipher.hasOpenSession().then(function(hasSession) { if (!hasSession) { updateDevices.push(deviceId);