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
54 const QString CONNECTED_KEY_IN_LOCATION = "connected";54 const QString CONNECTED_KEY_IN_LOCATION = "connected";
55 locationObject.insert(CONNECTED_KEY_IN_LOCATION, discoverable && domainHandler.isConnected());55 locationObject.insert(CONNECTED_KEY_IN_LOCATION, discoverable && domainHandler.isConnected());
56 56
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.
58 const QString PATH_KEY_IN_LOCATION = "path";58 const QString PATH_KEY_IN_LOCATION = "path";
59 locationObject.insert(PATH_KEY_IN_LOCATION, pathString);59 locationObject.insert(PATH_KEY_IN_LOCATION, pathString);
60 60

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