mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:16:51 +02:00
put user location without curly braces
This commit is contained in:
parent
9beb493a45
commit
9c1196a2a6
1 changed files with 4 additions and 2 deletions
|
@ -3187,11 +3187,13 @@ void Application::updateLocationInServer() {
|
||||||
|
|
||||||
if (!addressManager->getRootPlaceID().isNull()) {
|
if (!addressManager->getRootPlaceID().isNull()) {
|
||||||
const QString PLACE_ID_KEY_IN_LOCATION = "place_id";
|
const QString PLACE_ID_KEY_IN_LOCATION = "place_id";
|
||||||
locationObject.insert(PLACE_ID_KEY_IN_LOCATION, addressManager->getRootPlaceID().toString());
|
locationObject.insert(PLACE_ID_KEY_IN_LOCATION,
|
||||||
|
uuidStringWithoutCurlyBraces(addressManager->getRootPlaceID()));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
const QString DOMAIN_ID_KEY_IN_LOCATION = "domain_id";
|
const QString DOMAIN_ID_KEY_IN_LOCATION = "domain_id";
|
||||||
locationObject.insert(DOMAIN_ID_KEY_IN_LOCATION, domainHandler.getUUID().toString());
|
locationObject.insert(DOMAIN_ID_KEY_IN_LOCATION,
|
||||||
|
uuidStringWithoutCurlyBraces(domainHandler.getUUID()));
|
||||||
}
|
}
|
||||||
|
|
||||||
rootObject.insert(LOCATION_KEY_IN_ROOT, locationObject);
|
rootObject.insert(LOCATION_KEY_IN_ROOT, locationObject);
|
||||||
|
|
Loading…
Reference in a new issue