aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 42347b0..6f756b4 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2981,6 +2981,8 @@ def thread_command_callback(data, current_buffer, args):
pm.thread_channel = tc
tc.open()
# tc.create_buffer()
+ if config.switch_buffer_on_join:
+ w.buffer_set(tc.channel_buffer, "display", "1")
return w.WEECHAT_RC_OK_EAT
elif args[0] == '/reply':
count = int(args[1])