mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
people: Remove 'get_active_user_for_email' function.
This commit removes the 'get_active_user_for_email' function from people.js. We have removed the use of this function in the previous commits, which changed the functions using 'get_active_user_for_email' to use user_ids instead of emails.
This commit is contained in:
@@ -670,14 +670,6 @@ exports.is_valid_bulk_emails_for_compose = function (emails) {
|
||||
});
|
||||
};
|
||||
|
||||
exports.get_active_user_for_email = function (email) {
|
||||
const person = exports.get_by_email(email);
|
||||
if (!person) {
|
||||
return;
|
||||
}
|
||||
return active_user_dict.get(person.user_id);
|
||||
};
|
||||
|
||||
exports.is_active_user_for_popover = function (user_id) {
|
||||
// For popover menus, we include cross-realm bots as active
|
||||
// users.
|
||||
|
||||
Reference in New Issue
Block a user