mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
restore lost code
This commit is contained in:
parent
364bfd84bd
commit
5c8b2ba1c3
1 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,10 @@ void DiscoverabilityManager::updateLocation() {
|
|||
|
||||
const QString NETWORK_ADDRESS_PORT_IN_LOCATION = "network_port";
|
||||
locationObject.insert(NETWORK_ADDRESS_PORT_IN_LOCATION, domainSockAddr.getPort());
|
||||
|
||||
const QString NODE_ID_IN_LOCATION = "node_id";
|
||||
const int UUID_REAL_LENGTH = 36;
|
||||
locationObject.insert(NODE_ID_IN_LOCATION, DependencyManager::get<NodeList>()->getSessionUUID().toString().mid(1, UUID_REAL_LENGTH));
|
||||
}
|
||||
|
||||
const QString AVAILABILITY_KEY_IN_LOCATION = "availability";
|
||||
|
|
Loading…
Reference in a new issue