mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
Merge pull request #10090 from howard-stearns/fix-location-node-id-update
restore lost code
This commit is contained in:
commit
0f90ba49ba
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