Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream settings: Use buddy list logic for filtering users.
m-e-l-u-h-a-nc7be17eb733d
diff --git a/static/js/stream_edit.js b/static/js/stream_edit.jsindex 2e5cb85145a..305aac09ba2 100644--- a/static/js/stream_edit.js+++ b/static/js/stream_edit.js@@ -454,20 +454,11 @@ function show_subscription_settings(sub) {},filter: {element: $(`[data-stream-id='${CSS.escape(stream_id)}'] .search`),- predicate(item, value) {- const person = item;-- if (person) {- if (- person.email.toLocaleLowerCase().includes(value) &&- settings_data.show_email()- ) {- return true;- }- return person.full_name.toLowerCase().includes(value);- }-- return false;+ predicate(person, value) {+ const matcher = people.build_person_matcher(value);+ const match = matcher(person);++ return match;},},simplebar_container: $(".subscriber_list_container"),