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:
sahil839
2020-06-05 23:56:40 +05:30
committed by Tim Abbott
parent 40475a41b0
commit bd943941e4
2 changed files with 0 additions and 22 deletions

View File

@@ -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.