mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
implement the remove friend for gpg key, and improve the tranfer of ip address from a dummy peer to a normal peer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2024 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
018b84a1e1
commit
54c7f8b81a
6 changed files with 40 additions and 15 deletions
|
@ -621,8 +621,13 @@ bool p3Peers::removeFriend(std::string id)
|
|||
std::cerr << "p3Peers::removeFriend() " << id;
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
//will remove if it's a gpg id
|
||||
AuthGPG::getAuthGPG()->setAcceptToConnectGPGCertificate(id, false);
|
||||
|
||||
//will remove if it's a ssl id
|
||||
mConnMgr->removeFriend(id);
|
||||
return true;
|
||||
|
||||
return mConnMgr->removeFriend(id);
|
||||
}
|
||||
|
||||
/* Network Stuff */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue