mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
don't send an empty gpg key in p3disc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
28a1244a1b
commit
074671af29
@ -367,7 +367,11 @@ void p3disc::sendPeerDetails(std::string to, std::string about) {
|
|||||||
#endif
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
di -> certGPG = AuthGPG::getAuthGPG()->SaveCertificateToString(about);
|
std::string cert = AuthGPG::getAuthGPG()->SaveCertificateToString(about);
|
||||||
|
if (cert == "") {
|
||||||
|
cert = "No Key";
|
||||||
|
}
|
||||||
|
di -> certGPG = cert;
|
||||||
|
|
||||||
// Send off message
|
// Send off message
|
||||||
#ifdef P3DISC_DEBUG
|
#ifdef P3DISC_DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user