mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
get_raw_user_data: Support acting_user=None.
This already had support for web_public_guest, fixed mypy annotation.
This commit is contained in:
@@ -441,7 +441,7 @@ def get_custom_profile_field_values(custom_profile_field_values:
|
||||
}
|
||||
return profiles_by_user_id
|
||||
|
||||
def get_raw_user_data(realm: Realm, acting_user: UserProfile, *, target_user: Optional[UserProfile]=None,
|
||||
def get_raw_user_data(realm: Realm, acting_user: Optional[UserProfile], *, target_user: Optional[UserProfile]=None,
|
||||
client_gravatar: bool, user_avatar_url_field_optional: bool,
|
||||
include_custom_profile_fields: bool=True) -> Dict[int, Dict[str, str]]:
|
||||
"""Fetches data about the target user(s) appropriate for sending to
|
||||
|
||||
Reference in New Issue
Block a user