aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2016-11-18 07:38:49 -0800
committerGitHub <noreply@github.com>2016-11-18 07:38:49 -0800
commitc908124654b151f6c847648d4f928ecf2ceef525 (patch)
treef4073198326f2f8bdc34f4d91ea9c03083431fdd
parent1bc423a87baf4f2eede8974cd7a2f3f6b29aaebf (diff)
parent0ba84188a60fead89a856b946a176e9f75b0f385 (diff)
downloadwee-slack-c908124654b151f6c847648d4f928ecf2ceef525.tar.gz
Merge pull request #215 from terminalmage/issue190
Remove unnecessary channels.join API request
-rw-r--r--wee_slack.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index f86ee60..d36dc4b 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -599,7 +599,6 @@ class Channel(object):
if update_remote:
if "join" in SLACK_API_TRANSLATOR[self.type]:
async_slack_api_request(self.server.domain, self.server.token, SLACK_API_TRANSLATOR[self.type]["join"], {"name": self.name.lstrip("#")})
- async_slack_api_request(self.server.domain, self.server.token, SLACK_API_TRANSLATOR[self.type]["join"], {"user": users.find(self.name).identifier})
def close(self, update_remote=True):
# remove from cache so messages don't reappear when reconnecting