mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-64275 message: fix update unread conversation counts
This commit is contained in:
parent
cb7f6a6f99
commit
e79a79ad83
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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user