Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
buddy_list: Always update section hiddenness on populate.
evykassirer1e542b8f7a1a
diff --git a/web/src/buddy_list.ts b/web/src/buddy_list.tsindex 1f22e25eb3b..58bf24c8a8f 100644--- a/web/src/buddy_list.ts+++ b/web/src/buddy_list.ts@@ -316,8 +316,8 @@ export class BuddyList extends BuddyListConf {$("#buddy-list-other-users-container .view-all-users-link").remove();if (!buddy_data.get_is_searching_users()) {this.render_view_user_list_links();- this.display_or_hide_sections();}+ this.display_or_hide_sections();// `populate` always rerenders all user rows, so we need new load handlers.// This logic only does something is a user has enabled the setting to