aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2015-11-17 02:09:44 +0000
committerRyan Huber <rhuber@gmail.com>2015-11-17 02:09:44 +0000
commit03b19fddea92c1108086f4d26e970a624f2b68a1 (patch)
treedea73ab9d8409bec200bd2bf44831310ebba9a68 /wee_slack.py
parentd2a4e614da82194295384130ba0f699d41ccf932 (diff)
downloadwee-slack-03b19fddea92c1108086f4d26e970a624f2b68a1.tar.gz
did this ever work ?!
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)