buddy_list: Make sure we always open Others section during search.

(cherry picked from commit 70e542c9cc)
This commit is contained in:
Evy Kassirer
2025-03-27 14:43:38 -07:00
committed by Tim Abbott
parent 5f0844d7fb
commit 39e43838c3

View File

@@ -310,12 +310,6 @@ export class BuddyList extends BuddyListConf {
"#buddy-list-users-matching-view-container",
this.users_matching_view_is_collapsed,
);
this.set_section_collapse(
"#buddy-list-other-users-container",
this.other_users_is_collapsed,
);
}
// Ensure the "other" section is visible when headers are collapsed,
// because we're hiding its header so there's no way to collapse or
// uncollapse the list in this view. Ensure we're showing/hiding as
@@ -324,6 +318,7 @@ export class BuddyList extends BuddyListConf {
"#buddy-list-other-users-container",
this.render_data.hide_headers ? false : this.other_users_is_collapsed,
);
}
this.fill_screen_with_content();