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:
drbob 2011-08-07 21:14:09 +00:00
parent 8e3e7d5209
commit b082362c58
8 changed files with 18 additions and 19 deletions

View file

@ -402,7 +402,7 @@ void ForumMsgItem::updateAvatar(const QString &peer_id)
if (mGpgIdPrev.empty() == false) {
/* Is this one of the ssl ids of the gpg id ? */
std::list<std::string> sslIds;
if (rsPeers->getSSLChildListOfGPGId(mGpgIdPrev, sslIds) == false) {
if (rsPeers->getAssociatedSSLIds(mGpgIdPrev, sslIds) == false) {
return;
}
@ -415,7 +415,7 @@ void ForumMsgItem::updateAvatar(const QString &peer_id)
if (mGpgIdNext.empty() == false) {
/* Is this one of the ssl ids of the gpg id ? */
std::list<std::string> sslIds;
if (rsPeers->getSSLChildListOfGPGId(mGpgIdNext, sslIds) == false) {
if (rsPeers->getAssociatedSSLIds(mGpgIdNext, sslIds) == false) {
return;
}
@ -446,7 +446,7 @@ void ForumMsgItem::showAvatar(const std::string &peer_id, bool next)
if (peer_id.empty()) {
/* Show the first available avatar of one of the ssl ids */
std::list<std::string> sslIds;
if (rsPeers->getSSLChildListOfGPGId(gpgId, sslIds) == false) {
if (rsPeers->getAssociatedSSLIds(gpgId, sslIds) == false) {
return;
}