mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:03:57 +02:00
send friends_only key for discoverability
This commit is contained in:
parent
f90580b7ee
commit
89e5fef808
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ void DiscoverabilityManager::updateLocation() {
|
|||
uuidStringWithoutCurlyBraces(domainHandler.getUUID()));
|
||||
}
|
||||
|
||||
const QString FRIENDS_ONLY_KEY_IN_LOCATION = "friends_only";
|
||||
locationObject.insert(FRIENDS_ONLY_KEY_IN_LOCATION, (_mode.get() == Discoverability::Friends));
|
||||
|
||||
rootObject.insert(LOCATION_KEY_IN_ROOT, locationObject);
|
||||
|
||||
accountManager.authenticatedRequest(API_USER_LOCATION_PATH, QNetworkAccessManager::PutOperation,
|
||||
|
|
Loading…
Reference in a new issue