mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
register: Add client capability to not receive unknown users data.
This commit adds a new client capability to decide whether the client needs unknown users data or not.
This commit is contained in:
@@ -88,6 +88,7 @@ def request_event_queue(
|
||||
user_settings_object: bool = False,
|
||||
pronouns_field_type_supported: bool = True,
|
||||
linkifier_url_template: bool = False,
|
||||
user_list_incomplete: bool = False,
|
||||
) -> Optional[str]:
|
||||
if not settings.USING_TORNADO:
|
||||
return None
|
||||
@@ -110,6 +111,7 @@ def request_event_queue(
|
||||
"user_settings_object": orjson.dumps(user_settings_object),
|
||||
"pronouns_field_type_supported": orjson.dumps(pronouns_field_type_supported),
|
||||
"linkifier_url_template": orjson.dumps(linkifier_url_template),
|
||||
"user_list_incomplete": orjson.dumps(user_list_incomplete),
|
||||
}
|
||||
|
||||
if event_types is not None:
|
||||
|
||||
Reference in New Issue
Block a user