mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 18:15:18 -04:00
exclude own friends from key removal pre-selection
This commit is contained in:
parent
e861f87364
commit
c6b6835461
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue