diff --git a/retroshare-gui/src/gui/NetworkDialog.cpp b/retroshare-gui/src/gui/NetworkDialog.cpp index a8d887daf..bdeda264c 100644 --- a/retroshare-gui/src/gui/NetworkDialog.cpp +++ b/retroshare-gui/src/gui/NetworkDialog.cpp @@ -227,7 +227,7 @@ void NetworkDialog::removeUnusedKeys() std::cerr << "Skipping public/secret key pair " << *it << std::endl; continue ; } - if(now > (time_t) (THREE_MONTHS + details.lastUsed)) + if(now > (time_t) (THREE_MONTHS + details.lastUsed) && !details.accept_connection) { std::cerr << "Adding " << *it << " to pre-selection." << std::endl; pre_selected.insert(*it) ;