diff options
author | Tollef Fog Heen <tfheen@err.no> | 2016-03-27 11:49:04 +0200 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2016-03-27 11:49:04 +0200 |
commit | d66f7d16dd147a2021ea7722e3544e5365a2d9a3 (patch) | |
tree | ad2581f945129f473eeb692c4aac8a768ca3dcb1 | |
parent | b1770652b856407f76095e5a513631c340d5f072 (diff) | |
parent | 21d2d3460dba37924aea18305c81ae90ef5d2a70 (diff) | |
download | wee-slack-d66f7d16dd147a2021ea7722e3544e5365a2d9a3.tar.gz |
Merge pull request #199 from rawdigits/146_channel_name_issue
new channels have # prepended as they should have
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 4a1d000..85065be 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1412,7 +1412,7 @@ def process_channel_created(message_json): server.channels.find(message_json["channel"]["name"]).open(False) else: item = message_json["channel"] - server.add_channel(Channel(server, item["name"], item["id"], False)) + server.add_channel(Channel(server, item["name"], item["id"], False, prepend_name="#")) server.buffer_prnt("New channel created: {}".format(item["name"])) |