mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
actions: Use get_system_bot in get_cross_realm_dicts.
This commit is contained in:
@@ -3087,7 +3087,7 @@ def get_status_dict(requesting_user_profile):
|
||||
|
||||
def get_cross_realm_dicts():
|
||||
# type: () -> List[Dict[str, Any]]
|
||||
users = [get_user_profile_by_email(email) for email in get_cross_realm_emails()]
|
||||
users = [get_system_bot(email) for email in get_cross_realm_emails()]
|
||||
return [{'email': user.email,
|
||||
'user_id': user.id,
|
||||
'is_admin': user.is_realm_admin,
|
||||
|
||||
Reference in New Issue
Block a user