mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
create_user: Remove redundant argument of get_display_email_address.
This commit is contained in:
committed by
Tim Abbott
parent
c693ae8982
commit
b15dd9147d
@@ -695,7 +695,7 @@ def do_set_realm_property(realm: Realm, name: str, value: Any,
|
||||
|
||||
user_profiles = UserProfile.objects.filter(realm=realm, is_bot=False)
|
||||
for user_profile in user_profiles:
|
||||
user_profile.email = get_display_email_address(user_profile, realm)
|
||||
user_profile.email = get_display_email_address(user_profile)
|
||||
# TODO: Design a bulk event for this or force-reload all clients
|
||||
send_user_email_update_event(user_profile)
|
||||
UserProfile.objects.bulk_update(user_profiles, ['email'])
|
||||
|
||||
Reference in New Issue
Block a user