mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
unread: Add UI support for marking messages as unread.
Fixes #2676. Co-authored-by: Aman Agrawal <amanagr@zulip.com> Co-authored-by: Tim Abbott <tabbott@zulip.com>
This commit is contained in:
@@ -125,6 +125,8 @@ export function initialize() {
|
||||
.all_messages()
|
||||
.filter((message) => unread.message_unread(message));
|
||||
notify_server_messages_read(unread_messages);
|
||||
// New messages received may be marked as read based on narrow type.
|
||||
message_lists.current.resume_reading();
|
||||
|
||||
hide_mark_as_read_turned_off_banner();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user