Re-create some of d9bf0a4
, which was broken and reverted in 1e6720
This commit is contained in:
parent
18f1eed70f
commit
21b95ce1d3
2 changed files with 3 additions and 5 deletions
|
@ -495,7 +495,7 @@ window.textsecure.subscribeToPush = function() {
|
|||
for (var i = 0; i < decrypted.message.attachments.length; i++)
|
||||
promises[i] = handleAttachment(decrypted.message.attachments[i]);
|
||||
return Promise.all(promises).then(function() {
|
||||
message_callback(decrypted);
|
||||
message_callback({pushMessage: proto, message: decrypted});
|
||||
});
|
||||
})
|
||||
}).catch(function(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue