Fix unread message lookup in markRead
// FREEBIE
This commit is contained in:
parent
c4a88dd651
commit
f88b33a135
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue