Recursively fetch messages until we've loaded all unread

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-05-19 14:06:56 -07:00
parent 533ec52d0c
commit 30b7bf23db
2 changed files with 20 additions and 2 deletions

View file

@ -320,7 +320,7 @@
fetchMessages: function() {
if (!this.id) { return false; }
return this.messageCollection.fetchConversation(this.id);
return this.messageCollection.fetchConversation(this.id, null, this.get('unreadCount'));
},
fetchContacts: function(options) {