Delete extra space
This commit is contained in:
parent
02ca0a09ac
commit
7c81e4ed2e
2 changed files with 2 additions and 2 deletions
|
@ -38760,7 +38760,7 @@ OutgoingMessage.prototype = {
|
||||||
var updateDevices = [];
|
var updateDevices = [];
|
||||||
return Promise.all(deviceIds.map(function(deviceId) {
|
return Promise.all(deviceIds.map(function(deviceId) {
|
||||||
var address = new libsignal.SignalProtocolAddress(number, 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) {
|
return sessionCipher.hasOpenSession().then(function(hasSession) {
|
||||||
if (!hasSession) {
|
if (!hasSession) {
|
||||||
updateDevices.push(deviceId);
|
updateDevices.push(deviceId);
|
||||||
|
|
|
@ -187,7 +187,7 @@ OutgoingMessage.prototype = {
|
||||||
var updateDevices = [];
|
var updateDevices = [];
|
||||||
return Promise.all(deviceIds.map(function(deviceId) {
|
return Promise.all(deviceIds.map(function(deviceId) {
|
||||||
var address = new libsignal.SignalProtocolAddress(number, 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) {
|
return sessionCipher.hasOpenSession().then(function(hasSession) {
|
||||||
if (!hasSession) {
|
if (!hasSession) {
|
||||||
updateDevices.push(deviceId);
|
updateDevices.push(deviceId);
|
||||||
|
|
Loading…
Reference in a new issue