fix a bug with gpg id details

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2108 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2010-01-21 22:05:26 +00:00
parent 5d863f6243
commit 79d95fdc63
2 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,7 @@ p3ConnectMgr::p3ConnectMgr()
{
/* setup basics of own state */
ownState.id = AuthSSL::getAuthSSL()->OwnId();
ownState.gpg_id = AuthGPG::getAuthGPG()->getGPGOwnId();
ownState.name = AuthGPG::getAuthGPG()->getGPGOwnName();
ownState.location = AuthSSL::getAuthSSL()->getOwnLocation();
ownState.netMode = RS_NET_MODE_UDP;

View File

@ -290,6 +290,7 @@ bool p3Peers::getPeerDetails(std::string id, RsPeerDetails &d)
if (id == AuthSSL::getAuthSSL()->OwnId()) {
mConnMgr->getOwnNetStatus(pcs);
pcs.gpg_id = AuthGPG::getAuthGPG()->getGPGOwnId();
}
/* get from gpg (first), to fill in the sign and trust details */