diff --git a/js/models/conversations.js b/js/models/conversations.js index 75e59046..5d6363f7 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -211,7 +211,7 @@ })); var readReceipts = this.messageCollection.where({ - type: 'incoming', unread: true + type: 'incoming', unread: 1 }).map(function(m) { m.markRead(); return {