mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
people: Rename method to get_by_user_id().
This name is consistent with:
get_by_email()
get_by_name()
This commit is contained in:
@@ -36,7 +36,7 @@ exports.is_sub_settings_active = function (sub) {
|
||||
|
||||
exports.get_email_of_subscribers = function (subscribers) {
|
||||
return subscribers.map(function (user_id) {
|
||||
return people.get_person_from_user_id(user_id).email;
|
||||
return people.get_by_user_id(user_id).email;
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user