Add UI for seeing all muted topics in settings page.

Fixes #2322.
This commit is contained in:
aakash-cr7
2016-11-26 09:09:53 +05:30
committed by Tim Abbott
parent 9a5179c460
commit b72262e8ec
9 changed files with 77 additions and 0 deletions

View File

@@ -269,6 +269,7 @@ exports.topic_ops = {
muting_ui.mute_topic(stream, topic);
muting_ui.persist_and_rerender();
muting_ui.notify_with_undo_option(stream, topic);
muting_ui.set_up_muted_topics_ui(muting.get_muted_topics());
},
// we don't run a unmute_notif function because it isn't an issue as much
// if someone accidentally unmutes a stream rather than if they mute it
@@ -277,6 +278,7 @@ exports.topic_ops = {
popovers.hide_topic_sidebar_popover();
muting_ui.unmute_topic(stream, topic);
muting_ui.persist_and_rerender();
muting_ui.set_up_muted_topics_ui(muting.get_muted_topics());
},
};