mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
search: Don't mark messages as read in search narrow.
Don't mark unread messages as read while searching. This behavior will be extended to other narrows later. Fixes: #12556.
This commit is contained in:
@@ -301,7 +301,9 @@ exports.respond_to_message = function (opts) {
|
||||
return;
|
||||
}
|
||||
|
||||
unread_ops.notify_server_message_read(message);
|
||||
if (current_msg_list.can_mark_messages_read()) {
|
||||
unread_ops.notify_server_message_read(message);
|
||||
}
|
||||
|
||||
var stream = '';
|
||||
var topic = '';
|
||||
|
||||
Reference in New Issue
Block a user