mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +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():
|
def get_cross_realm_dicts():
|
||||||
# type: () -> List[Dict[str, Any]]
|
# 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,
|
return [{'email': user.email,
|
||||||
'user_id': user.id,
|
'user_id': user.id,
|
||||||
'is_admin': user.is_realm_admin,
|
'is_admin': user.is_realm_admin,
|
||||||
|
|||||||
Reference in New Issue
Block a user