mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +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:
@@ -142,7 +142,9 @@ MessageListData.prototype = {
|
||||
is_search: function () {
|
||||
return this.filter.is_search();
|
||||
},
|
||||
|
||||
can_mark_messages_read: function () {
|
||||
return this.filter.can_mark_messages_read();
|
||||
},
|
||||
_get_predicate: function () {
|
||||
// We cache this.
|
||||
if (!this.predicate) {
|
||||
|
||||
Reference in New Issue
Block a user