mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
exclude own friends from key removal pre-selection
This commit is contained in:
parent
e861f87364
commit
c6b6835461
@ -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) ;
|
||||
|
Loading…
Reference in New Issue
Block a user