Slack: include rtm:stream scope

This commit is contained in:
Jan Kaluza 2016-01-24 12:15:03 +01:00
parent 37ee8ce980
commit e1797dbe1f

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");
"channels:read channels:write team:read im:read im:write chat:write:bot rtm:stream");
std::string url = oauth2->generateAuthURL();
m_auths[oauth2->getState()] = oauth2;