mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
people.js: Rename realm_get -> get_active_user_for_email.
We rename this function to be more clear, and we also remove a stray function name for `realm_get` that was for the wrong exported function.
This commit is contained in:
@@ -117,7 +117,7 @@ exports.would_receive_message = function (email) {
|
||||
}
|
||||
|
||||
if (focused_recipient.type === 'stream') {
|
||||
var user = people.realm_get(email);
|
||||
var user = people.get_active_user_for_email(email);
|
||||
var sub = stream_data.get_sub(focused_recipient.stream);
|
||||
if (!sub) {
|
||||
// If the stream isn't valid, there is no risk of a mix
|
||||
|
||||
Reference in New Issue
Block a user