mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 13:30:36 -04:00
Updated retroshare-gui to match libretroshare interface changes.
* remove calls to rsPeers->setAcceptToConnectGPGCertificate(); * these are replaced with addFriend() / removeFriend(). * renamed rsPeers->getSSLChildListOfGPGId() => rsPeers->getAssociatedSSLIds(). git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4543 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8e3e7d5209
commit
b082362c58
8 changed files with 18 additions and 19 deletions
|
@ -393,9 +393,8 @@ void ConfCertDialog::makeFriend()
|
|||
std::string gpg_id = rsPeers->getGPGId(mId);
|
||||
if (ui.signGPGKeyCheckBox->isChecked()) {
|
||||
rsPeers->signGPGCertificate(gpg_id);
|
||||
} else {
|
||||
rsPeers->setAcceptToConnectGPGCertificate(gpg_id, true);
|
||||
}
|
||||
}
|
||||
|
||||
rsPeers->addFriend(mId, gpg_id);
|
||||
loadAll();
|
||||
|
||||
|
@ -405,7 +404,7 @@ void ConfCertDialog::makeFriend()
|
|||
void ConfCertDialog::denyFriend()
|
||||
{
|
||||
std::string gpg_id = rsPeers->getGPGId(mId);
|
||||
rsPeers->setAcceptToConnectGPGCertificate(gpg_id, false);
|
||||
rsPeers->removeFriend(gpg_id);
|
||||
loadAll();
|
||||
|
||||
emit configChanged();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue