mirror of https://github.com/zulip/zulip.git
29055c16ae
We now just calculate two vars: pm_list - which individual PM conversation to highlight is_pm_filter - highlight "Private messages" The logic is structured so that we err on the side of **not** spuriously selecting list items: * be defensive about `filter` not existing for some reason * don't select anything if we have multiple pm-with operands in the search (which is sort of undefined behavior) Tweaked by tabbott to add a comment explaining the multiple pm-with case. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
icons/fonts | ||
images | ||
js | ||
locale | ||
styles | ||
templates | ||
third | ||
.gitignore | ||
favicon.ico | ||
node_modules |