Remove unused function

// FREEBIE
This commit is contained in:
lilia 2016-05-03 23:06:16 -07:00
parent d32a352d8a
commit daae664965
2 changed files with 0 additions and 26 deletions

View file

@ -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) {
var promise = Promise.resolve();

View file

@ -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) {
var promise = Promise.resolve();