History

send initial path in location update (e.g., on login)

howard-stearns committed 9 years ago

Commit 6f79b2e1 parent b0b21401 file · +1 −1Browse files

Showing the changes to interface/src/DiscoverabilityManager.cpp (1 of 1 file). Show all

Unified · Split

interface/src/DiscoverabilityManager.cpp+1−1
@@ -54,7 +54,7 @@ void DiscoverabilityManager::updateLocation() { · 53 unmodified lines
5454 const QString CONNECTED_KEY_IN_LOCATION = "connected";
5555 locationObject.insert(CONNECTED_KEY_IN_LOCATION, discoverable && domainHandler.isConnected());
5656
57− if (discoverable) { // Don't consider changes to these as update-worthy if we're not discoverable.
57+ if (discoverable || _lastLocationObject.isEmpty()) { // Don't consider changes to these as update-worthy if we're not discoverable.
5858 const QString PATH_KEY_IN_LOCATION = "path";
5959 locationObject.insert(PATH_KEY_IN_LOCATION, pathString);
6060

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t