Slack: parse the bots names from RTM
This commit is contained in:
parent
cf2ba10533
commit
bf9f7b7a41
1 changed files with 2 additions and 2 deletions
|
@ -302,10 +302,10 @@ void SlackAPI::getSlackUserInfo(HTTPRequest *req, bool ok, rapidjson::Document &
|
|||
|
||||
SlackUserInfo info;
|
||||
|
||||
STORE_STRING(users[i], id);
|
||||
STORE_STRING(bots[i], id);
|
||||
info.id = id;
|
||||
|
||||
STORE_STRING(users[i], name);
|
||||
STORE_STRING(bots[i], name);
|
||||
info.name = name;
|
||||
|
||||
info.isPrimaryOwner = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue