Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

stream_list: Fix `n` key ignoring muted channels.

Aman Agrawal54aa2ca63dc0
diff --git a/web/src/stream_list.ts b/web/src/stream_list.ts
index 97840c45ace..88e7164db62 100644
--- a/web/src/stream_list.ts
+++ b/web/src/stream_list.ts
@@ -1607,7 +1607,7 @@ export function get_sorted_channel_ids_for_next_unread_navigation(): {
// Get sorted section ids.
const sections = stream_list_sort.get_current_sections().map((section) => ({
id: section.id,
- channels: section.streams,
+ channels: [...section.streams, ...section.muted_streams, ...section.inactive_streams],
is_collapsed: collapsed_sections.has(section.id),
}));