SlackAPI: Do not check for is_primary_owner

This commit is contained in:
Jan Kaluza 2016-02-02 10:49:17 +01:00
parent 8d10818b9b
commit fb5ef23e10

View file

@ -321,8 +321,8 @@ void SlackAPI::getSlackUserInfo(HTTPRequest *req, bool ok, rapidjson::Document &
STORE_STRING(users[i], name);
info.name = name;
STORE_BOOL(users[i], is_primary_owner);
info.isPrimaryOwner = is_primary_owner;
// STORE_BOOL(users[i], is_primary_owner);
info.isPrimaryOwner = false;
ret[info.id] = info;
LOG4CXX_INFO(logger, info.id << " " << info.name);