mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +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:
@@ -67,7 +67,7 @@ exports.apply_markdown = function (message) {
|
||||
if (match) {
|
||||
const user_id = parseInt(match[2], 10);
|
||||
if (people.is_known_user_id(user_id)) {
|
||||
person = people.get_person_from_user_id(user_id);
|
||||
person = people.get_by_user_id(user_id);
|
||||
if (person.full_name !== match[1]) { // Invalid Syntax
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user