mirror of https://github.com/zulip/zulip.git
e1727844d7
Trying to condense messages when they are not yet visible just leads to wasted effort and wrong results. This commit makes it so that current_msg_list always points to a visible list, so the code related to message rendering knows when to call ui.condense_and_collapse(). For activating narrows, we now let rendering handle the condense/collapse case. The home view situation is a little trickier, because we render new messages in the home view even when we're inside inside of a narrow, presumably to make it fast to switch into the home view. When we actually go back to the home view, we need to sweep for messages that might need to be condensed, since they have been originally rendered while the home view was not visible. (imported from commit 4da2d278a4353e9e0c2b98cbf8c9dd03b06cd59b) |
||
---|---|---|
analytics | ||
api | ||
assets | ||
bin | ||
bots | ||
confirmation | ||
corporate | ||
humbug | ||
node_modules | ||
puppet | ||
scripts | ||
static | ||
templates | ||
tools | ||
zerver | ||
zilencer | ||
zproject | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
manage.py | ||
zulip_tools.py |