Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_popover: Make the feature publicly accessible.
Aman Agrawal45afad41ad6f
diff --git a/web/src/stream_popover.ts b/web/src/stream_popover.tsindex 3174ea8d8b5..d01d218ecf5 100644--- a/web/src/stream_popover.ts+++ b/web/src/stream_popover.ts@@ -27,7 +27,6 @@ import type {Message} from "./message_store.ts";import * as message_util from "./message_util.ts";import * as message_view from "./message_view.ts";import * as narrow_state from "./narrow_state.ts";-import {page_params} from "./page_params.ts";import * as peer_data from "./peer_data.ts";import * as people from "./people.ts";import * as popover_menus from "./popover_menus.ts";@@ -114,8 +113,7 @@ function build_stream_popover(opts: {elt: HTMLElement; stream_id: number}): voidweb_channel_default_view_values.channel_feed.code;const show_go_to_list_of_topics =user_settings.web_channel_default_view !==- web_channel_default_view_values.list_of_topics.code &&- page_params.development_environment;+ web_channel_default_view_values.list_of_topics.code;const stream_unread = unread.unread_count_info_for_stream(stream_id);const stream_unread_count = stream_unread.unmuted_count + stream_unread.muted_count;const has_unread_messages = stream_unread_count > 0;