aboutsummaryrefslogtreecommitdiffstats
path: root/slack/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/config.py')
-rw-r--r--slack/config.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/slack/config.py b/slack/config.py
index 1bb4f0f..bf785ea 100644
--- a/slack/config.py
+++ b/slack/config.py
@@ -190,6 +190,13 @@ class SlackConfigSectionLook:
"*",
)
+ self.leave_channel_on_buffer_close = WeeChatOption(
+ self._section,
+ "leave_channel_on_buffer_close",
+ "leave channel when a buffer is closed",
+ True,
+ )
+
self.muted_conversations_notify: WeeChatOption[
Literal["none", "personal_highlights", "all_highlights", "all"]
] = WeeChatOption(