diff --git a/js/models/conversations.js b/js/models/conversations.js index 68e7e5d90..7305ad8bc 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -46,7 +46,6 @@ this.on('change:avatar', this.updateAvatarUrl); this.on('destroy', this.revokeAvatarUrl); - this.on('read', this.onReadMessage); this.fetchContacts().then(function() { this.contactCollection.each(function(contact) { textsecure.storage.protocol.on('keychange:' + contact.id, function() { diff --git a/js/read_receipts.js b/js/read_receipts.js index ca324da59..9e92aee79 100644 --- a/js/read_receipts.js +++ b/js/read_receipts.js @@ -35,7 +35,7 @@ if (conversation) { // notify frontend listeners - conversation.trigger('read', message); + conversation.onReadMessage(message); } }); } else {