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: Don't error for expected zoomed-in home view misses.

Aman Agrawal8fbd9880a90b
diff --git a/web/src/stream_list.ts b/web/src/stream_list.ts
index 3ae55dfffb9..f1d54d5348d 100644
--- a/web/src/stream_list.ts
+++ b/web/src/stream_list.ts
@@ -828,7 +828,8 @@ export function zoom_out_topics(): void {
export function set_in_home_view(stream_id: number, in_home: boolean): void {
const $li = get_stream_li(stream_id);
if (!$li) {
- blueslip.error("passed in bad stream id", {stream_id});
+ // When zoomed into a channel's topic list, only the
+ // zoomed-in channel has a row in the sidebar.
return;
}