mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
update for new friends api
This commit is contained in:
parent
ebdfede89f
commit
2443166d78
1 changed files with 1 additions and 2 deletions
|
@ -854,8 +854,7 @@ void DomainGatekeeper::getDomainOwnerFriendsListJSONCallback(QNetworkReply& requ
|
|||
_domainOwnerFriends.clear();
|
||||
QJsonArray friends = jsonObject["data"].toObject()["friends"].toArray();
|
||||
for (int i = 0; i < friends.size(); i++) {
|
||||
QString friendUserName = friends.at(i).toObject()["username"].toString();
|
||||
_domainOwnerFriends += friendUserName;
|
||||
_domainOwnerFriends += friends.at(i).toString()
|
||||
}
|
||||
} else {
|
||||
qDebug() << "getDomainOwnerFriendsList api call returned:" << QJsonDocument(jsonObject).toJson(QJsonDocument::Compact);
|
||||
|
|
Loading…
Reference in a new issue