diff --git a/src/ringdht/ringaccount.cpp b/src/ringdht/ringaccount.cpp index 2286b50e3efb2873d0a1744c78d960a5aefa5317..4c1815745c1bbeec09e1e96db45683ff176566e9 100644 --- a/src/ringdht/ringaccount.cpp +++ b/src/ringdht/ringaccount.cpp @@ -898,7 +898,8 @@ RingAccount::updateArchive(AccountArchive& archive) const auto details = getAccountDetails(); for (auto it : details) { if (it.first.compare(DRing::Account::ConfProperties::Ringtone::PATH) == 0 || - it.first.compare(DRing::Account::ConfProperties::ARCHIVE_PATH) == 0) { + it.first.compare(DRing::Account::ConfProperties::ARCHIVE_PATH) == 0 || + it.first.compare(Conf::CONFIG_DHT_PORT) == 0) { // Keys to not be exported to archive } else if (it.first.compare(DRing::Account::ConfProperties::TLS::CA_LIST_FILE) == 0 || it.first.compare(DRing::Account::ConfProperties::TLS::CERTIFICATE_FILE) == 0 ||