From 79d95fdc637b2c76ac4a2a3a8bbea032f73ce675 Mon Sep 17 00:00:00 2001 From: joss17 Date: Thu, 21 Jan 2010 22:05:26 +0000 Subject: [PATCH] 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 --- libretroshare/src/pqi/p3connmgr.cc | 1 + libretroshare/src/rsserver/p3peers.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/libretroshare/src/pqi/p3connmgr.cc b/libretroshare/src/pqi/p3connmgr.cc index fa34f614d..b45f91d63 100644 --- a/libretroshare/src/pqi/p3connmgr.cc +++ b/libretroshare/src/pqi/p3connmgr.cc @@ -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; diff --git a/libretroshare/src/rsserver/p3peers.cc b/libretroshare/src/rsserver/p3peers.cc index 1f1b254a3..db987da35 100644 --- a/libretroshare/src/rsserver/p3peers.cc +++ b/libretroshare/src/rsserver/p3peers.cc @@ -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 */