Unverified Commit 11a54fe7 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

account: add managerUsername to details

Change-Id: I70925f1955e589372e1903915c0f3f7a728dabf2
parent 242407f9
...@@ -108,6 +108,7 @@ struct ConfProperties_t { ...@@ -108,6 +108,7 @@ struct ConfProperties_t {
std::string deviceId; std::string deviceId;
std::string deviceName; std::string deviceName;
std::string managerUri; std::string managerUri;
std::string managerUsername;
bool publishedSameAsLocal; bool publishedSameAsLocal;
int localPort; int localPort;
int publishedPort; int publishedPort;
......
...@@ -729,6 +729,7 @@ account::Info::fromDetails(const MapStringString& details) ...@@ -729,6 +729,7 @@ account::Info::fromDetails(const MapStringString& details)
confProperties.Registration.expire = toInt(details[ConfProperties::Registration::EXPIRE]); confProperties.Registration.expire = toInt(details[ConfProperties::Registration::EXPIRE]);
// Jams // Jams
confProperties.managerUri = toStdString(details[ConfProperties::MANAGER_URI]); confProperties.managerUri = toStdString(details[ConfProperties::MANAGER_URI]);
confProperties.managerUsername = toStdString(details[ConfProperties::MANAGER_USERNAME]);
} }
MapStringString MapStringString
...@@ -836,6 +837,7 @@ account::ConfProperties_t::toDetails() const ...@@ -836,6 +837,7 @@ account::ConfProperties_t::toDetails() const
details[ConfProperties::Registration::EXPIRE] = toQString(this->Registration.expire); details[ConfProperties::Registration::EXPIRE] = toQString(this->Registration.expire);
// Manager // Manager
details[ConfProperties::MANAGER_URI] = toQString(this->managerUri); details[ConfProperties::MANAGER_URI] = toQString(this->managerUri);
details[ConfProperties::MANAGER_USERNAME] = toQString(this->managerUsername);
return details; return details;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment