aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_conversation.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2024-02-22 19:15:13 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-22 19:16:16 +0100
commit430ca9818dfc2f2ffb23b856e8d97187f411c5d1 (patch)
treea2dc47c5a1ba849828e6c8e7b5c3ed4847a04b40 /slack/slack_conversation.py
parentf931870f46ce0af8739ab1439269eabc8dcc2cb4 (diff)
downloadwee-slack-430ca9818dfc2f2ffb23b856e8d97187f411c5d1.tar.gz
Add buffer localvar slack_muted
This is 1 if the conversation is muted and 0 if it's not.
Diffstat (limited to 'slack/slack_conversation.py')
-rw-r--r--slack/slack_conversation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py
index 6cc58f7..69381de 100644
--- a/slack/slack_conversation.py
+++ b/slack/slack_conversation.py
@@ -349,6 +349,7 @@ class SlackConversation(SlackBuffer):
"localvar_set_nick": self.workspace.my_user.nick.raw_nick,
"localvar_set_channel": name,
"localvar_set_server": self.workspace.name,
+ "localvar_set_slack_muted": "1" if self.muted else "0",
"localvar_set_completion_default_template": "${weechat.completion.default_template}|%(slack_channels)|%(slack_emojis)",
}