mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
buddy_list: Remove incorrect comment for human subscriber count.
This commit is contained in:
@@ -43,8 +43,6 @@ function get_total_human_subscriber_count(
|
|||||||
current_sub: StreamSubscription | undefined,
|
current_sub: StreamSubscription | undefined,
|
||||||
pm_ids_set: Set<number>,
|
pm_ids_set: Set<number>,
|
||||||
): number {
|
): number {
|
||||||
// Excludes human users, but may include long-inactive users who
|
|
||||||
// might not show up in the buddy list.
|
|
||||||
if (current_sub) {
|
if (current_sub) {
|
||||||
return peer_data.get_subscriber_count(current_sub.stream_id, false);
|
return peer_data.get_subscriber_count(current_sub.stream_id, false);
|
||||||
} else if (pm_ids_set.size > 0) {
|
} else if (pm_ids_set.size > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user