mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
solve a bug with dummy friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
38df8b54a6
commit
3863b8c173
@ -626,6 +626,8 @@ bool p3Peers::isDummyFriend(std::string ssl_id) {
|
||||
bool ret = false;
|
||||
if (getPeerDetails(ssl_id, details)) {
|
||||
ret = (details.id == ("dummy" + details.gpg_id));
|
||||
} else {
|
||||
ret = (ssl_id.substr(0,5) == "dummy");
|
||||
}
|
||||
#ifdef P3PEERS_DEBUG
|
||||
std::cerr << "p3Peers::isDummyFriend() return : " << ret << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user