Add missing semicolons
This commit is contained in:
parent
c28b5408ab
commit
4e88d4a5cf
2 changed files with 10 additions and 12 deletions
|
@ -39852,7 +39852,7 @@ window.textsecure.messaging = function() {
|
||||||
numbersCompleted++;
|
numbersCompleted++;
|
||||||
if (numbersCompleted >= numbers.length)
|
if (numbersCompleted >= numbers.length)
|
||||||
callback({success: successfulNumbers, failure: errors});
|
callback({success: successfulNumbers, failure: errors});
|
||||||
}
|
};
|
||||||
|
|
||||||
var registerError = function(number, message, error) {
|
var registerError = function(number, message, error) {
|
||||||
if (error) {
|
if (error) {
|
||||||
|
@ -39862,9 +39862,8 @@ window.textsecure.messaging = function() {
|
||||||
error = new Error(message);
|
error = new Error(message);
|
||||||
errors[errors.length] = { number: number, reason: message, error: error };
|
errors[errors.length] = { number: number, reason: message, error: error };
|
||||||
numberCompleted();
|
numberCompleted();
|
||||||
}
|
};
|
||||||
|
|
||||||
var doSendMessage;
|
|
||||||
var reloadDevicesAndSend = function(number, recurse) {
|
var reloadDevicesAndSend = function(number, recurse) {
|
||||||
return function() {
|
return function() {
|
||||||
return textsecure.storage.devices.getDeviceObjectsForNumber(number).then(function(devicesForNumber) {
|
return textsecure.storage.devices.getDeviceObjectsForNumber(number).then(function(devicesForNumber) {
|
||||||
|
@ -39873,9 +39872,9 @@ window.textsecure.messaging = function() {
|
||||||
doSendMessage(number, devicesForNumber, recurse);
|
doSendMessage(number, devicesForNumber, recurse);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
doSendMessage = function(number, devicesForNumber, recurse) {
|
var doSendMessage = function(number, devicesForNumber, recurse) {
|
||||||
var groupUpdate = Promise.resolve(true);
|
var groupUpdate = Promise.resolve(true);
|
||||||
if (message.group && message.group.id && message.group.type != textsecure.protobuf.GroupContext.Type.QUIT)
|
if (message.group && message.group.id && message.group.type != textsecure.protobuf.GroupContext.Type.QUIT)
|
||||||
groupUpdate = refreshGroup(number, message.group.id, devicesForNumber);
|
groupUpdate = refreshGroup(number, message.group.id, devicesForNumber);
|
||||||
|
@ -39918,7 +39917,7 @@ window.textsecure.messaging = function() {
|
||||||
registerError(number, "Identity key changed", error);
|
registerError(number, "Identity key changed", error);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
var getDevicesAndSendToNumber = function(number) {
|
var getDevicesAndSendToNumber = function(number) {
|
||||||
textsecure.storage.devices.getDeviceObjectsForNumber(number).then(function(devicesForNumber) {
|
textsecure.storage.devices.getDeviceObjectsForNumber(number).then(function(devicesForNumber) {
|
||||||
|
|
|
@ -156,7 +156,7 @@ window.textsecure.messaging = function() {
|
||||||
numbersCompleted++;
|
numbersCompleted++;
|
||||||
if (numbersCompleted >= numbers.length)
|
if (numbersCompleted >= numbers.length)
|
||||||
callback({success: successfulNumbers, failure: errors});
|
callback({success: successfulNumbers, failure: errors});
|
||||||
}
|
};
|
||||||
|
|
||||||
var registerError = function(number, message, error) {
|
var registerError = function(number, message, error) {
|
||||||
if (error) {
|
if (error) {
|
||||||
|
@ -166,9 +166,8 @@ window.textsecure.messaging = function() {
|
||||||
error = new Error(message);
|
error = new Error(message);
|
||||||
errors[errors.length] = { number: number, reason: message, error: error };
|
errors[errors.length] = { number: number, reason: message, error: error };
|
||||||
numberCompleted();
|
numberCompleted();
|
||||||
}
|
};
|
||||||
|
|
||||||
var doSendMessage;
|
|
||||||
var reloadDevicesAndSend = function(number, recurse) {
|
var reloadDevicesAndSend = function(number, recurse) {
|
||||||
return function() {
|
return function() {
|
||||||
return textsecure.storage.devices.getDeviceObjectsForNumber(number).then(function(devicesForNumber) {
|
return textsecure.storage.devices.getDeviceObjectsForNumber(number).then(function(devicesForNumber) {
|
||||||
|
@ -177,9 +176,9 @@ window.textsecure.messaging = function() {
|
||||||
doSendMessage(number, devicesForNumber, recurse);
|
doSendMessage(number, devicesForNumber, recurse);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
doSendMessage = function(number, devicesForNumber, recurse) {
|
var doSendMessage = function(number, devicesForNumber, recurse) {
|
||||||
var groupUpdate = Promise.resolve(true);
|
var groupUpdate = Promise.resolve(true);
|
||||||
if (message.group && message.group.id && message.group.type != textsecure.protobuf.GroupContext.Type.QUIT)
|
if (message.group && message.group.id && message.group.type != textsecure.protobuf.GroupContext.Type.QUIT)
|
||||||
groupUpdate = refreshGroup(number, message.group.id, devicesForNumber);
|
groupUpdate = refreshGroup(number, message.group.id, devicesForNumber);
|
||||||
|
@ -222,7 +221,7 @@ window.textsecure.messaging = function() {
|
||||||
registerError(number, "Identity key changed", error);
|
registerError(number, "Identity key changed", error);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
var getDevicesAndSendToNumber = function(number) {
|
var getDevicesAndSendToNumber = function(number) {
|
||||||
textsecure.storage.devices.getDeviceObjectsForNumber(number).then(function(devicesForNumber) {
|
textsecure.storage.devices.getDeviceObjectsForNumber(number).then(function(devicesForNumber) {
|
||||||
|
|
Loading…
Reference in a new issue