mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +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:
@@ -151,7 +151,7 @@ function full_name(user_id) {
|
||||
if (user_id === page_params.user_id) {
|
||||
return 'You (click to remove)';
|
||||
}
|
||||
return people.get_person_from_user_id(user_id).full_name;
|
||||
return people.get_by_user_id(user_id).full_name;
|
||||
}
|
||||
|
||||
function generate_title(emoji_name, user_ids) {
|
||||
|
||||
Reference in New Issue
Block a user