mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 17:13:58 -05:00
Merge branch 'RetroShare:master' into cleanupoldiconsandnewsvg
This commit is contained in:
commit
701b2e4ca1
27 changed files with 438 additions and 246 deletions
|
|
@ -1359,7 +1359,7 @@ bool NewFriendList::exportFriendlist(QString &fileName)
|
|||
if (!rsPeers->getPeerDetails(*list_iter2, detailSSL))
|
||||
continue;
|
||||
|
||||
std::string certificate = rsPeers->GetRetroshareInvite(detailSSL.id, RetroshareInviteFlags::CURRENT_IP | RetroshareInviteFlags::DNS | RetroshareInviteFlags::RADIX_FORMAT);
|
||||
std::string certificate = rsPeers->GetRetroshareInvite(detailSSL.id, RsPeers::defaultCertificateFlags | RetroshareInviteFlags::RADIX_FORMAT);
|
||||
|
||||
// remove \n from certificate
|
||||
certificate.erase(std::remove(certificate.begin(), certificate.end(), '\n'), certificate.end());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue