Added missing set of service permission flags when adding a friend in ConnectFriendWizard with signing the key.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6628 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-08-27 10:57:57 +00:00
parent fa503f1603
commit e99b202b51

View File

@ -583,6 +583,7 @@ void ConnectFriendWizard::accept()
if (sign) { if (sign) {
std::cerr << "ConclusionPage::validatePage() signing GPG key." << std::endl; std::cerr << "ConclusionPage::validatePage() signing GPG key." << std::endl;
rsPeers->signGPGCertificate(peerDetails.gpg_id); //bye default sign set accept_connection to true; rsPeers->signGPGCertificate(peerDetails.gpg_id); //bye default sign set accept_connection to true;
rsPeers->setServicePermissionFlags(peerDetails.gpg_id,serviceFlags()) ;
runProgressDialog = true; runProgressDialog = true;
} else if (accept_connection) { } else if (accept_connection) {