mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
api: Default client_gravatar to true.
Default `client_gravatar` to `true` for all endpoints passing the parameter to avoid extra payload. Fixes #11214.
This commit is contained in:
committed by
Tim Abbott
parent
5459a92e4a
commit
067a32925d
@@ -950,7 +950,7 @@ def get_messages_backend(
|
||||
use_first_unread_anchor_val: bool = REQ(
|
||||
"use_first_unread_anchor", json_validator=check_bool, default=False
|
||||
),
|
||||
client_gravatar: bool = REQ(json_validator=check_bool, default=False),
|
||||
client_gravatar: bool = REQ(json_validator=check_bool, default=True),
|
||||
apply_markdown: bool = REQ(json_validator=check_bool, default=True),
|
||||
) -> HttpResponse:
|
||||
anchor = parse_anchor_value(anchor_val, use_first_unread_anchor_val)
|
||||
|
||||
Reference in New Issue
Block a user