diff options
author | Eric Wang <gnawrice@gmail.com> | 2017-10-20 01:14:45 -0700 |
---|---|---|
committer | Eric Wang <gnawrice@gmail.com> | 2017-10-20 01:14:45 -0700 |
commit | fa8dc9abdc12040995bd3e342d63e5082c24db33 (patch) | |
tree | bb8fdfffd06c12322a53e0a9b6d97828728e53f3 | |
parent | 27153da2d7d3037d348367a250588ee09701f502 (diff) | |
download | wee-slack-fa8dc9abdc12040995bd3e342d63e5082c24db33.tar.gz |
Fix channel joins not syncing with Slack
-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 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 |