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 {
std::string deviceId;
std::string deviceName;
std::string managerUri;
std::string managerUsername;
bool publishedSameAsLocal;
int localPort;
int publishedPort;
......
......@@ -729,6 +729,7 @@ account::Info::fromDetails(const MapStringString& details)
confProperties.Registration.expire = toInt(details[ConfProperties::Registration::EXPIRE]);
// Jams
confProperties.managerUri = toStdString(details[ConfProperties::MANAGER_URI]);
confProperties.managerUsername = toStdString(details[ConfProperties::MANAGER_USERNAME]);
}
MapStringString
......@@ -836,6 +837,7 @@ account::ConfProperties_t::toDetails() const
details[ConfProperties::Registration::EXPIRE] = toQString(this->Registration.expire);
// Manager
details[ConfProperties::MANAGER_URI] = toQString(this->managerUri);
details[ConfProperties::MANAGER_USERNAME] = toQString(this->managerUsername);
return details;
}
......
Supports Markdown
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