Remove unused function
// FREEBIE
This commit is contained in:
parent
d32a352d8a
commit
daae664965
2 changed files with 0 additions and 26 deletions
|
@ -36837,19 +36837,6 @@ Internal.SessionLock.queueJobForNumber = function queueJobForNumber(number, runJ
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getDeviceObjectsForNumber: function(number) {
|
|
||||||
return textsecure.storage.protocol.loadIdentityKey(number).then(function(identityKey) {
|
|
||||||
if (identityKey === undefined) {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
return textsecure.storage.protocol.getDeviceIds(number).then(function(deviceIds) {
|
|
||||||
return Promise.all(deviceIds.map(function(deviceId) {
|
|
||||||
var address = new libsignal.SignalProtocolAddress(number, deviceId).toString();
|
|
||||||
return { encodedNumber : address };
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
removeDeviceIdsForNumber: function(number, deviceIdsToRemove) {
|
removeDeviceIdsForNumber: function(number, deviceIdsToRemove) {
|
||||||
var promise = Promise.resolve();
|
var promise = Promise.resolve();
|
||||||
|
|
|
@ -31,19 +31,6 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getDeviceObjectsForNumber: function(number) {
|
|
||||||
return textsecure.storage.protocol.loadIdentityKey(number).then(function(identityKey) {
|
|
||||||
if (identityKey === undefined) {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
return textsecure.storage.protocol.getDeviceIds(number).then(function(deviceIds) {
|
|
||||||
return Promise.all(deviceIds.map(function(deviceId) {
|
|
||||||
var address = new libsignal.SignalProtocolAddress(number, deviceId).toString();
|
|
||||||
return { encodedNumber : address };
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
removeDeviceIdsForNumber: function(number, deviceIdsToRemove) {
|
removeDeviceIdsForNumber: function(number, deviceIdsToRemove) {
|
||||||
var promise = Promise.resolve();
|
var promise = Promise.resolve();
|
||||||
|
|
Loading…
Reference in a new issue