Slack: Use just 'bot' scope

This commit is contained in:
Jan Kaluza 2016-01-24 12:29:58 +01:00
parent 57a0ebde1d
commit 2084556ded

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 client");
"bot");
std::string url = oauth2->generateAuthURL();
m_auths[oauth2->getState()] = oauth2;