Showing the changes to interface/src/DiscoverabilityManager.cpp (1 of 3 files). Show all
Unified · Split
| @@ -127,6 +127,10 @@ void DiscoverabilityManager::handleHeartbeatResponse(QNetworkReply& requestReply · 126 unmodified lines | |||
| 127 | 127 | ||
| 128 | if (!dataObject.isEmpty()) { | 128 | if (!dataObject.isEmpty()) { |
| 129 | _sessionID = dataObject[SESSION_ID_KEY].toString(); | 129 | _sessionID = dataObject[SESSION_ID_KEY].toString(); |
| 130 | |||
| 131 | // give that session ID to the account manager | ||
| 132 | auto accountManager = DependencyManager::get<AccountManager>(); | ||
| 133 | accountManager->setSessionID(_sessionID); | ||
| 130 | } | 134 | } |
| 131 | } | 135 | } |
| 132 | 136 | ||