diff --git a/src/api/account.h b/src/api/account.h index 927aedcc964637b298f72b68e42b0358ebbd31b7..e1c39aefac20d6fe40957f89d8a4f8bed9991075 100644 --- a/src/api/account.h +++ b/src/api/account.h @@ -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; diff --git a/src/newaccountmodel.cpp b/src/newaccountmodel.cpp index 3ed441e0b12e2e45bee2348ed2bbfd156f717e56..ec53e1d369e1a7641c0d30aed82d03913bf5abfe 100644 --- a/src/newaccountmodel.cpp +++ b/src/newaccountmodel.cpp @@ -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; }