MDL-64275 message: fix update unread conversation counts
This commit is contained in:
committed by
Jun Pataleta
parent
6b34db6b00
commit
67db9af9db
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() {
|
||||
|
||||
Reference in New Issue
Block a user