aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorEric Wang <gnawrice@gmail.com>2017-10-20 01:14:45 -0700
committerEric Wang <gnawrice@gmail.com>2017-10-20 01:14:45 -0700
commitfa8dc9abdc12040995bd3e342d63e5082c24db33 (patch)
treebb8fdfffd06c12322a53e0a9b6d97828728e53f3 /wee_slack.py
parent27153da2d7d3037d348367a250588ee09701f502 (diff)
downloadwee-slack-fa8dc9abdc12040995bd3e342d63e5082c24db33.tar.gz
Fix channel joins not syncing with Slack
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 b6f943a..65b555c 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1225,7 +1225,7 @@ class SlackChannel(object):
def open(self, update_remote=True):
if update_remote:
if "join" in SLACK_API_TRANSLATOR[self.type]:
- s = SlackRequest(self.team.token, SLACK_API_TRANSLATOR[self.type]["join"], {"name": self.name}, team_hash=self.team.team_hash, channel_identifier=self.identifier)
+ s = SlackRequest(self.team.token, SLACK_API_TRANSLATOR[self.type]["join"], {"channel": self.identifier}, team_hash=self.team.team_hash, channel_identifier=self.identifier)
self.eventrouter.receive(s)
self.create_buffer()
self.active = True