mirror of https://github.com/zulip/zulip.git
33f9e83588
Previously, we used to only calculate sender_is_bot, sender_is_guest, small_avatar_url and background_color on the message_container via build_message_groups (ie via .render, which also gets called from .rerender_with_target_scrolltop). This would mean that if we tried to use `_rerender_message` to update just a single message (which is something we'd like to do, in order to make rerenders more efficient), these values would not update. (This could lead to avatars not light-updating properly). As such, this commit moves assignment of these values into `set_calculated_message_container_variables`. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.gitignore |