mirror of https://github.com/zulip/zulip.git
0e106a2488
Clients fetching messages can now specify that they are able to compute their avatar, and if they set client_gratavar to True in the request (w/our normal encoding scheme), then the backend will not compute it, and the payload will be smaller. The fix starts with get_messages_backend. The flag gets passed down through these functions: * MessageDict.post_process_dicts. * MessageDict.set_sender_avatar. We also fix up the callers for post_process_dicts to explicitly pass in the client_gravatar path, but for now they all just hard code the value to False. |
||
---|---|---|
.. | ||
fixtures | ||
lib | ||
management | ||
migrations | ||
templatetags | ||
tests | ||
tornado | ||
views | ||
webhooks | ||
worker | ||
__init__.py | ||
apps.py | ||
context_processors.py | ||
decorator.py | ||
filters.py | ||
forms.py | ||
logging_handlers.py | ||
middleware.py | ||
models.py | ||
signals.py | ||
static_header.txt | ||
storage.py |