added explicit options to including IP history and removed iP history from RS Links as it leaks information without users consent

This commit is contained in:
csoler 2018-10-20 17:48:36 +02:00
parent 259264897e
commit 7d21e74b29
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
6 changed files with 27 additions and 14 deletions

View file

@ -1903,7 +1903,7 @@ bool FriendList::exportFriendlist(QString &fileName)
if (!rsPeers->getPeerDetails(*list_iter, detailSSL))
continue;
std::string certificate = rsPeers->GetRetroshareInvite(detailSSL.id, true);
std::string certificate = rsPeers->GetRetroshareInvite(detailSSL.id, true,true);
// remove \n from certificate
certificate.erase(std::remove(certificate.begin(), certificate.end(), '\n'), certificate.end());