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.

buddy_list: Remove incorrect comment for human subscriber count.

evykassirer52fe67e69861
diff --git a/web/src/buddy_list.ts b/web/src/buddy_list.ts
index ce32b2477e1..bbdff47fe65 100644
--- a/web/src/buddy_list.ts
+++ b/web/src/buddy_list.ts
@@ -43,8 +43,6 @@ function get_total_human_subscriber_count(
current_sub: StreamSubscription | undefined,
pm_ids_set: Set<number>,
): number {
- // Excludes human users, but may include long-inactive users who
- // might not show up in the buddy list.
if (current_sub) {
return peer_data.get_subscriber_count(current_sub.stream_id, false);
} else if (pm_ids_set.size > 0) {