MDL-64275 message: fix update unread conversation counts

This commit is contained in:
Ryan Wyllie
2018-12-10 15:07:22 +08:00
committed by Jun Pataleta
parent 6b34db6b00
commit 67db9af9db
2 changed files with 4 additions and 3 deletions
File diff suppressed because one or more lines are too long
@@ -625,10 +625,11 @@ function(
// Silently ignore if we can't updated the counts. No need to bother the user.
});
// Same as for total counts.
// This is given to us by the calling code because the unread counts for all sections
// are loaded in a single ajax request rather than one request per section.
unreadCountPromise.then(function(count) {
renderUnreadCount(root, count);
loadedTotalCounts = true;
loadedUnreadCounts = true;
return;
})
.catch(function() {