mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
presence: Add slim_presence flag.
This flag affects page_params and the
payload you get back from POSTs to this
url:
users/me/presence
The flag does not yet affect the
presence events that get sent to a
client.
This commit is contained in:
@@ -121,6 +121,7 @@ def home_real(request: HttpRequest) -> HttpResponse:
|
||||
|
||||
register_ret = do_events_register(user_profile, request.client,
|
||||
apply_markdown=True, client_gravatar=True,
|
||||
slim_presence=True,
|
||||
notification_settings_null=True,
|
||||
narrow=narrow)
|
||||
user_has_messages = (register_ret['max_message_id'] != -1)
|
||||
|
||||
Reference in New Issue
Block a user