events: Add "user_settings_object" to client_capabilities.

This commit adds "user_settings_object" field to
client_capabilities which will be used to determine
if the client needs 'update_display_settings' and
'update_global_notifications' event.
This commit is contained in:
Sahil Batra
2021-07-24 23:21:25 +05:30
committed by Tim Abbott
parent 7959ae3fab
commit 0364d0c8ca
9 changed files with 70 additions and 2 deletions

View File

@@ -135,6 +135,7 @@ def build_page_params_for_home_page_load(
"bulk_message_deletion": True,
"user_avatar_url_field_optional": True,
"stream_typing_notifications": False, # Set this to True when frontend support is implemented.
"user_settings_object": False, # Set this to True when frontend support is implemented.
}
if user_profile is not None: