From a939fcad2ec03c68742dce9f201766493a306161 Mon Sep 17 00:00:00 2001 From: evykassirer Date: Wed, 27 Nov 2024 09:45:49 -0800 Subject: [PATCH] buddy_list: Fix calculation for `has_inactive_users_matching_view`. --- web/src/buddy_list.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/buddy_list.ts b/web/src/buddy_list.ts index 3a003a296a..1f22e25eb3 100644 --- a/web/src/buddy_list.ts +++ b/web/src/buddy_list.ts @@ -335,7 +335,8 @@ export class BuddyList extends BuddyListConf { update_empty_list_placeholders(): void { const {total_human_subscribers_count, other_users_count} = this.render_data; const has_inactive_users_matching_view = - total_human_subscribers_count > this.users_matching_view_ids.length; + total_human_subscribers_count > + this.users_matching_view_ids.length + this.participant_user_ids.length; const has_inactive_other_users = other_users_count > this.other_user_ids.length; let matching_view_empty_list_message;