mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 00:25:16 -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
|
@ -621,7 +621,7 @@ void FriendsDialog::insertPeers()
|
|||
//add own gpg id, if we have more than on location (ssl client)
|
||||
std::list<std::string> ownSslContacts;
|
||||
std::string ownId = rsPeers->getGPGOwnId();
|
||||
rsPeers->getSSLChildListOfGPGId(ownId, ownSslContacts);
|
||||
rsPeers->getAssociatedSSLIds(ownId, ownSslContacts);
|
||||
if (ownSslContacts.size() > 0) {
|
||||
gpgFriends.push_back(ownId);
|
||||
}
|
||||
|
@ -864,7 +864,7 @@ void FriendsDialog::insertPeers()
|
|||
bool gpg_hasPrivateChat = false;
|
||||
std::list<std::string> sslContacts;
|
||||
|
||||
rsPeers->getSSLChildListOfGPGId(detail.gpg_id, sslContacts);
|
||||
rsPeers->getAssociatedSSLIds(detail.gpg_id, sslContacts);
|
||||
for (std::list<std::string>::iterator sslIt = sslContacts.begin(); sslIt != sslContacts.end(); sslIt++) {
|
||||
QTreeWidgetItem *sslItem = NULL;
|
||||
std::string sslId = *sslIt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue