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-settings-data: Fix comment for get_streams_for_settings_page.

Sahil Batradc68d7fd4fa9
diff --git a/web/src/stream_settings_data.ts b/web/src/stream_settings_data.ts
index 02796e03d0b..c78e108f663 100644
--- a/web/src/stream_settings_data.ts
+++ b/web/src/stream_settings_data.ts
@@ -144,12 +144,8 @@ export function get_unmatched_streams_for_notification_settings(): ({
}
export function get_streams_for_settings_page(): SettingsSubscription[] {
- // TODO: This function is only used for copy-from-stream, so
- // the current name is slightly misleading now, plus
- // it's not entirely clear we need unsubscribed streams
- // for that. Also we may be revisiting that UI.
-
- // Build up our list of subscribed streams from the data we already have.
+ // Build up our list of subscribed and unsubscribed streams from the
+ // data we already have.
const subscribed_rows = stream_data.subscribed_subs();
const unsubscribed_rows = stream_data.unsubscribed_subs();