aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2015-06-11 09:08:12 -0700
committerRyan Huber <rhuber@gmail.com>2015-06-11 09:08:12 -0700
commitcebbaf617eec87cec151b436c10b90c0c2533b78 (patch)
tree34c13468d6885bcc4729ac773747ec8664ebd462 /wee_slack.py
parent5f5885185b10da6ea1ff4c791e17803a2e0ff22c (diff)
downloadwee-slack-cebbaf617eec87cec151b436c10b90c0c2533b78.tar.gz
this never worked properly. now it does. derp.
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 1f35469..fb4ae2e 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1087,7 +1087,7 @@ def process_channel_created(message_json):
server.channels.find(message_json["channel"]["name"]).open(False)
else:
item = message_json["channel"]
- server.channels.append(Channel(server, item["name"], item["id"], item["is_open"], item["last_read"], "#", item["members"], item["topic"]["value"]))
+ server.channels.append(Channel(server, item["name"], item["id"], False))
server.buffer_prnt("New channel created: {}".format(item["name"]))