Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

people: Modernize CommonJS reference in comment.

Anders Kaseorg4d6a017320df
diff --git a/static/js/people.js b/static/js/people.js
index c9722a5fb19..2b825bf35f7 100644
--- a/static/js/people.js
+++ b/static/js/people.js
@@ -1030,9 +1030,9 @@ export function get_people_for_stream_create() {
/*
If you are thinking of reusing this function,
a better option in most cases is to just
- call `exports.get_realm_users()` and then
- filter out the "me" user yourself as part of
- any other filtering that you are doing.
+ call `get_realm_users()` and then filter out
+ the "me" user yourself as part of any other
+ filtering that you are doing.
In particular, this function does a sort
that is kinda expensive and may not apply