Slack: Use access_token to Set Purpose of channel

This commit is contained in:
Jan Kaluza 2016-01-27 16:14:25 +01:00
parent 52347fa379
commit 703af16e8b

View file

@ -153,7 +153,7 @@ void SlackSession::setPurpose(const std::string &purpose, const std::string &cha
}
LOG4CXX_INFO(logger, "Setting channel purppose: " << ch << " " << purpose);
m_rtm->getAPI()->setPurpose(ch, purpose);
m_api->setPurpose(ch, purpose);
}
void SlackSession::joinRoom(std::vector<std::string> args) {