Slack: use client instead of rtm:start...

This commit is contained in:
Jan Kaluza 2016-01-24 12:19:08 +01:00
parent e1797dbe1f
commit 57a0ebde1d

View file

@ -68,7 +68,7 @@ std::string SlackUserRegistration::createOAuth2URL(const std::vector<std::string
"https://slack.com/oauth/authorize",
"https://slack.com/api/oauth.access",
redirect_url,
"channels:read channels:write team:read im:read im:write chat:write:bot rtm:stream");
"channels:read channels:write team:read im:read im:write chat:write:bot client");
std::string url = oauth2->generateAuthURL();
m_auths[oauth2->getState()] = oauth2;