Fix undefined proto.source
This commit is contained in:
parent
ccc98d2f3d
commit
30bca85f5a
2 changed files with 5 additions and 5 deletions
|
@ -118,9 +118,9 @@
|
|||
// This function can be called from the background script on an
|
||||
// incoming message or from the frontend after the user accepts an
|
||||
// identity key change.
|
||||
return textsecure.processDecrypted(pushMessageContent).then(function(pushMessageContent) {
|
||||
var source = message.get('source');
|
||||
return textsecure.processDecrypted(pushMessageContent, source).then(function(pushMessageContent) {
|
||||
var now = new Date().getTime();
|
||||
var source = message.get('source');
|
||||
var conversationId = pushMessageContent.group ? pushMessageContent.group.id : source;
|
||||
var conversation = conversations.add({id: conversationId}, {merge: true});
|
||||
conversation.fetch().always(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue