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:
joss17 2010-01-13 21:32:05 +00:00
parent 018b84a1e1
commit 54c7f8b81a
6 changed files with 40 additions and 15 deletions

View file

@ -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 */