mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
The get_active_humans and get_non_active_humans functions used to return a list of user objects. The get_active_humans is used on settings_users.js and settings_bots.js, and in both places the only attributes needed of the person object are the user_id and full_name. To make the function return smaller, instead of a list of active humans, we are returning a list of active human ids, saving memory. With the ids we can call the people API to get the full_name attribute. |
||
|---|---|---|
| .. | ||
| assets | ||
| audio | ||
| generated | ||
| html | ||
| images | ||
| js | ||
| shared | ||
| styles | ||
| templates | ||
| third | ||
| .eslintrc.json | ||
| .gitignore | ||
| favicon.ico | ||