mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 22:30:42 -04:00
improved error handling, and ensures that keyring is always kept consistent
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6395 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4b21232beb
commit
e11f60150c
5 changed files with 32 additions and 13 deletions
|
@ -237,6 +237,10 @@ bool p3Peers::isFriend(const std::string &ssl_id)
|
|||
return mPeerMgr->isFriend(ssl_id);
|
||||
}
|
||||
|
||||
bool p3Peers::haveSecretKey(const std::string& id)
|
||||
{
|
||||
return AuthGPG::getAuthGPG()->haveSecretKey(id) ;
|
||||
}
|
||||
|
||||
/* There are too many dependancies of this function
|
||||
* to shift it immeidately
|
||||
|
|
|
@ -46,6 +46,7 @@ virtual bool OthersChanged();
|
|||
/* Peer Details (Net & Auth) */
|
||||
virtual std::string getOwnId();
|
||||
|
||||
virtual bool haveSecretKey(const std::string& gpg_id) ;
|
||||
|
||||
|
||||
virtual bool getOnlineList(std::list<std::string> &ids);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue