diff --git a/src/api/account.h b/src/api/account.h
index 6f9ecfe36b588b5dc6c4bee5957dd1ad7b49094d..8d3061f30e3caff46927018fad8e2f51c4f8d3f4 100644
--- a/src/api/account.h
+++ b/src/api/account.h
@@ -123,6 +123,8 @@ struct ConfProperties_t {
     std::string             proxyServer;
     std::string             proxyPushToken;
     bool                    peerDiscovery;
+    bool                    accountDiscovery;
+    bool                    accountPublish;
     int                     registrationExpire;
     struct Audio_t {
         int                 audioPortMax;
diff --git a/src/newaccountmodel.cpp b/src/newaccountmodel.cpp
index 887d613b9d174d6cc492d25e10987d09b219d9e1..c3045d5df6afadb5626f756b4ef6c90ed47ed27e 100644
--- a/src/newaccountmodel.cpp
+++ b/src/newaccountmodel.cpp
@@ -674,6 +674,8 @@ account::Info::fromDetails(const MapStringString& details)
     confProperties.proxyServer                          = toStdString(details[ConfProperties::PROXY_SERVER]);
     confProperties.proxyPushToken                       = toStdString(details[ConfProperties::PROXY_PUSH_TOKEN]);
     confProperties.peerDiscovery                        = toBool(details[ConfProperties::DHT_PEER_DISCOVERY]);
+    confProperties.accountDiscovery                     = toBool(details[ConfProperties::ACCOUNT_PEER_DISCOVERY]);
+    confProperties.accountPublish                       = toBool(details[ConfProperties::ACCOUNT_PUBLISH]);
     // Audio
     confProperties.Audio.audioPortMax                   = toInt(details[ConfProperties::Audio::PORT_MAX]);
     confProperties.Audio.audioPortMin                   = toInt(details[ConfProperties::Audio::PORT_MIN]);
@@ -772,6 +774,8 @@ account::ConfProperties_t::toDetails() const
     details[ConfProperties::PROXY_SERVER]               = toQString(this->proxyServer);
     details[ConfProperties::PROXY_PUSH_TOKEN]           = toQString(this->proxyPushToken);
     details[ConfProperties::DHT_PEER_DISCOVERY]         = toQString(this->peerDiscovery);
+    details[ConfProperties::ACCOUNT_PEER_DISCOVERY]     = toQString(this->accountDiscovery);
+    details[ConfProperties::ACCOUNT_PUBLISH]            = toQString(this->accountPublish);
     // Audio
     details[ConfProperties::Audio::PORT_MAX]            = toQString(this->Audio.audioPortMax);
     details[ConfProperties::Audio::PORT_MIN]            = toQString(this->Audio.audioPortMin);