Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
get_raw_user_data: Support acting_user=None.
Aman Agrawal6012d3cff2f9
diff --git a/zerver/lib/users.py b/zerver/lib/users.pyindex a961c197e22..f12e445cda7 100644--- a/zerver/lib/users.py+++ b/zerver/lib/users.py@@ -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