mirror of https://github.com/zulip/zulip.git
795248a1d0
This change will allow us to test the muting feature on staging. Any topic named "muted" will automatically be muted. You can also mute any other topic on the console: muting.mute_topic('devel', 'ios'); current_msg_list.rerender(); More UI around this experiment will be coming soon, as well as support for muting entire streams. The muting module keeps track of which topics are muted, but a user can expand muted messages, and once that happens, the messages are marked with the "force_expand" flag that gets persisted to the back end. Muted messages are rendered in similar fashion to the summarized rows, and as part of unifying some of that code, we have made it so that expanding a summarized section doesn't remove individual flags related to summaries; instead, the messages get the force_expand flag set. (imported from commit acee4190e63813d46850415c41ff8ebfae4a6953) |
||
---|---|---|
.. | ||
__init__.py | ||
authhack.py | ||
backends.py | ||
settings.py | ||
test_settings.py | ||
urls.py | ||
wsgi.py |