Fix arguments to sendMessageProto in tryMessageAgain
As ov ccc98d2
sendMessageProto takes a timestamp for the first argument,
in service of app-level delivery receipts.
This commit is contained in:
parent
f9e68be45b
commit
f23403f82b
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ window.textsecure.messaging = function() {
|
|||
message.fetch().then(function() {
|
||||
textsecure.storage.removeEncrypted("devices" + number);
|
||||
var proto = textsecure.protobuf.PushMessageContent.decode(encodedMessage, 'binary');
|
||||
sendMessageProto([number], proto, function(res) {
|
||||
sendMessageProto(message.get('sent_at'), [number], proto, function(res) {
|
||||
if (res.failure.length > 0) {
|
||||
message.set('errors', res.failure);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue