inbox: Call update from unread_ui.update_unread_counts.

Fixes #26687

This seems work correctly after manually testing all the events
for which inbox_ui.update was previously called.
This commit is contained in:
Aman Agrawal
2023-09-24 06:26:57 +00:00
committed by Tim Abbott
parent 61f602ed73
commit ede7f62781
7 changed files with 5 additions and 17 deletions

View File

@@ -492,6 +492,7 @@ function initialize_unread_ui() {
unread_ui.register_update_unread_counts_hook((counts) =>
notifications.update_unread_counts(counts),
);
unread_ui.register_update_unread_counts_hook(inbox_ui.update);
unread_ui.initialize({notify_server_messages_read: unread_ops.notify_server_messages_read});
}