mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 01:12:48 +02:00
send initial path in location update (e.g., on login)
This commit is contained in:
parent
b0b214012c
commit
6f79b2eaeb
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ void DiscoverabilityManager::updateLocation() {
|
|||
const QString CONNECTED_KEY_IN_LOCATION = "connected";
|
||||
locationObject.insert(CONNECTED_KEY_IN_LOCATION, discoverable && domainHandler.isConnected());
|
||||
|
||||
if (discoverable) { // Don't consider changes to these as update-worthy if we're not discoverable.
|
||||
if (discoverable || _lastLocationObject.isEmpty()) { // Don't consider changes to these as update-worthy if we're not discoverable.
|
||||
const QString PATH_KEY_IN_LOCATION = "path";
|
||||
locationObject.insert(PATH_KEY_IN_LOCATION, pathString);
|
||||
|
||||
|
|
Loading…
Reference in a new issue