mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +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:
@@ -341,7 +341,7 @@ exports.respond_to_message = function (opts) {
|
||||
// reply_to for private messages is everyone involved, so for
|
||||
// personals replies we need to set the private message
|
||||
// recipient to just the sender
|
||||
pm_recipient = people.get_person_from_user_id(message.sender_id).email;
|
||||
pm_recipient = people.get_by_user_id(message.sender_id).email;
|
||||
} else {
|
||||
pm_recipient = people.pm_reply_to(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user