Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
unread: Fix mark all as read when oldest unread message is muted.
Tim Abbott911cf46c72e8
diff --git a/static/js/unread_ops.js b/static/js/unread_ops.jsindex 6e3c238706b..2396aeb5832 100644--- a/static/js/unread_ops.js+++ b/static/js/unread_ops.js@@ -23,7 +23,11 @@ let loading_indicator_displayed = false;export function mark_all_as_read(args = {}) {args = {- anchor: "first_unread",+ // We use an anchor of "oldest", not "first_unread", because+ // "first_unread" will be the oldest non-muted unread message,+ // which would result in muted unreads older than the first+ // unread not being processed.+ anchor: "oldest",include_anchor: true,messages_read_till_now: 0,...args,