Fix unread message lookup in markRead
// FREEBIE
This commit is contained in:
@@ -211,7 +211,7 @@
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
var readReceipts = this.messageCollection.where({
|
var readReceipts = this.messageCollection.where({
|
||||||
type: 'incoming', unread: true
|
type: 'incoming', unread: 1
|
||||||
}).map(function(m) {
|
}).map(function(m) {
|
||||||
m.markRead();
|
m.markRead();
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user