Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

unread-ops: Add check to make `mark_as_read_turned_off_banner` visible.

Lauryn Menardf0c71a0293df
diff --git a/static/js/unread_ops.js b/static/js/unread_ops.js
index 872629581da..c4f41abc9ce 100644
--- a/static/js/unread_ops.js
+++ b/static/js/unread_ops.js
@@ -159,6 +159,13 @@ export function process_unread_messages_event({message_ids, message_details}) {
*/
message_live_update.rerender_messages_view();
+ if (
+ !message_lists.current.can_mark_messages_read() &&
+ message_lists.current.has_unread_messages()
+ ) {
+ unread_ui.notify_messages_remain_unread();
+ }
+
unread_ui.update_unread_counts();
}