diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 1e48c4802c51..6960baf2e6f9 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -39688,9 +39688,8 @@ window.textsecure.messaging = function() { var self = {}; - // success_callback(server success/failure map), error_callback(error_msg) // message == PushMessageContentProto (NOT STRING) - function sendMessageToDevices(timestamp, number, deviceObjectList, message, success_callback, error_callback) { + function sendMessageToDevices(timestamp, number, deviceObjectList, message) { var jsonData = []; var relay = undefined; var promises = []; diff --git a/libtextsecure/sendmessage.js b/libtextsecure/sendmessage.js index e28ecf52d6b0..3ebec257efce 100644 --- a/libtextsecure/sendmessage.js +++ b/libtextsecure/sendmessage.js @@ -7,9 +7,8 @@ window.textsecure.messaging = function() { var self = {}; - // success_callback(server success/failure map), error_callback(error_msg) // message == PushMessageContentProto (NOT STRING) - function sendMessageToDevices(timestamp, number, deviceObjectList, message, success_callback, error_callback) { + function sendMessageToDevices(timestamp, number, deviceObjectList, message) { var jsonData = []; var relay = undefined; var promises = [];