diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2017-10-06 22:26:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-06 22:26:21 +0200 |
commit | 9f9e8384f418f4557c81e080205538372c35e018 (patch) | |
tree | a58da8780762d4815f216612f9b2473202fa281b | |
parent | f61e1b8f8540311a00513c7dfc07ff89cf872958 (diff) | |
parent | 5df096f3e778f655e186b405a42e78324d247340 (diff) | |
download | wee-slack-9f9e8384f418f4557c81e080205538372c35e018.tar.gz |
Merge pull request #450 from auscompgeek/thread-switch
Switch to thread buffer on open if configured
-rw-r--r-- | wee_slack.py | 2 |
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]) |