Fix unread message lookup in markRead

// FREEBIE
This commit is contained in:
lilia 2016-02-26 12:27:44 -08:00
parent c4a88dd651
commit f88b33a135

View file

@ -211,7 +211,7 @@
}));
var readReceipts = this.messageCollection.where({
type: 'incoming', unread: true
type: 'incoming', unread: 1
}).map(function(m) {
m.markRead();
return {