aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 1136355..777bf0c 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -912,6 +912,8 @@ def me_command_cb(data, current_buffer, args):
def join_command_cb(data, current_buffer, args):
+ user = args.split()[1]
+ servers.find(current_domain_name()).users.find(user).open()
if channels.find(current_buffer) or servers.find(current_buffer):
channel = args.split()[1]
channel = servers.find(current_domain_name()).channels.find(channel)