Fix group send (fixes #129)
This commit is contained in:
parent
94e14f2c85
commit
c112c59ce6
3 changed files with 11 additions and 4 deletions
|
@ -8183,8 +8183,7 @@ window.textsecure.messaging = function() {
|
|||
});
|
||||
}
|
||||
|
||||
for (var i in numbers) {
|
||||
var number = numbers[i];
|
||||
var getDevicesAndSendToNumber = function(number) {
|
||||
var devicesForNumber = textsecure.storage.devices.getDeviceObjectsForNumber(number);
|
||||
|
||||
var promises = [];
|
||||
|
@ -8205,6 +8204,9 @@ window.textsecure.messaging = function() {
|
|||
doSendMessage(number, devicesForNumber, true);
|
||||
});
|
||||
}
|
||||
|
||||
for (var i in numbers)
|
||||
getDevicesAndSendToNumber(numbers[i]);
|
||||
}
|
||||
|
||||
makeAttachmentPointer = function(attachment) {
|
||||
|
|
|
@ -203,8 +203,7 @@ window.textsecure.messaging = function() {
|
|||
});
|
||||
}
|
||||
|
||||
for (var i in numbers) {
|
||||
var number = numbers[i];
|
||||
var getDevicesAndSendToNumber = function(number) {
|
||||
var devicesForNumber = textsecure.storage.devices.getDeviceObjectsForNumber(number);
|
||||
|
||||
var promises = [];
|
||||
|
@ -225,6 +224,9 @@ window.textsecure.messaging = function() {
|
|||
doSendMessage(number, devicesForNumber, true);
|
||||
});
|
||||
}
|
||||
|
||||
for (var i in numbers)
|
||||
getDevicesAndSendToNumber(numbers[i]);
|
||||
}
|
||||
|
||||
makeAttachmentPointer = function(attachment) {
|
||||
|
|
|
@ -464,5 +464,8 @@ axolotlTestVectors = function() {
|
|||
|
||||
tests[tests.length] = {name: "No-PreKey fake end-session test as Bob", vectors: axolotlNoPreKeyEndSessionTestVectorsBob};
|
||||
*/
|
||||
|
||||
//TODO: GROUPS
|
||||
|
||||
return tests;
|
||||
}();
|
||||
|
|
Loading…
Reference in a new issue