mirror of https://github.com/zulip/zulip.git
stream_muting: Add `mark_read: false` option when re-selecting message.
Added `mark_read: false` as it doesn't make sense to read/undread a message when just muting or unmuting a stream. It is to make sure that we never consume a unread message when just muting/unmuting streams.
This commit is contained in:
parent
1cb4886a23
commit
508ac58dc0
|
@ -46,6 +46,7 @@ export function update_is_muted(sub, value) {
|
|||
message_lists.home.select_id(message_lists.home.selected_id(), {
|
||||
use_closest: true,
|
||||
empty_ok: true,
|
||||
mark_read: false,
|
||||
});
|
||||
if (message_lists.current.selected_id() !== -1) {
|
||||
message_lists.current.view.set_message_offset(msg_offset);
|
||||
|
|
Loading…
Reference in New Issue