mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
Persist muting preferences to the back end
(imported from commit db2d4362a0601f35a75b798cf6945556e44532fb)
This commit is contained in:
@@ -385,7 +385,7 @@ exports.register_click_handlers = function () {
|
||||
var topic = $(e.currentTarget).data('msg-topic');
|
||||
popovers.hide_actions_popover();
|
||||
muting.mute_topic(stream, topic);
|
||||
current_msg_list.rerender();
|
||||
muting_ui.persist_and_rerender();
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
@@ -395,7 +395,7 @@ exports.register_click_handlers = function () {
|
||||
var topic = $(e.currentTarget).data('msg-topic');
|
||||
popovers.hide_actions_popover();
|
||||
muting.unmute_topic(stream, topic);
|
||||
current_msg_list.rerender();
|
||||
muting_ui.persist_and_rerender();
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user