aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index d20c29b..45804c7 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1939,7 +1939,8 @@ class SlackChannel(SlackChannelCommon):
notify_level = "0" if config.muted_channels_activity == "none" else "1"
w.buffer_set(self.channel_buffer, "notify", notify_level)
else:
- w.buffer_set(self.channel_buffer, "notify", "3")
+ buffer_full_name = w.buffer_get_string(self.channel_buffer, "full_name")
+ w.command(self.channel_buffer, "/mute /unset weechat.notify.{}".format(buffer_full_name))
if self.muted and config.muted_channels_activity == "none":
w.buffer_set(self.channel_buffer, "highlight_tags_restrict", "highlight_force")