Skip to content

Commit 1888d7c

Browse files
authored
Merge pull request #191 from jayalane/ws_url_timeout_large_team
Fixes an issue where ws connection failure for big teams.
2 parents d95ea21 + 4038069 commit 1888d7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slackclient/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ def rtm_connect(self, reconnect=False, timeout=None):
7474
login_data = reply.json()
7575
if login_data["ok"]:
7676
self.ws_url = login_data['url']
77+
self.connect_slack_websocket(self.ws_url)
7778
if not reconnect:
7879
self.parse_slack_login_data(login_data)
79-
self.connect_slack_websocket(self.ws_url)
8080
else:
8181
raise SlackLoginError
8282

0 commit comments

Comments
 (0)