From 98d1d08d68c8db08396f3cdbe936ed105b7ea67a Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 3 Jan 2018 20:32:37 +0100 Subject: [PATCH] removed extra links from chat widget, since normal links can be used now to DL through encrypted tunnels --- retroshare-gui/src/gui/chat/ChatWidget.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/retroshare-gui/src/gui/chat/ChatWidget.cpp b/retroshare-gui/src/gui/chat/ChatWidget.cpp index a8807cb3b..101214bab 100644 --- a/retroshare-gui/src/gui/chat/ChatWidget.cpp +++ b/retroshare-gui/src/gui/chat/ChatWidget.cpp @@ -1589,10 +1589,9 @@ void ChatWidget::fileHashingFinished(QList hashedFiles) RetroShareLink link; - if(mDefaultExtraFileFlags & RS_FILE_REQ_ANONYMOUS_ROUTING) - link = RetroShareLink::createFile(hashedFile.filename, hashedFile.size, QString::fromStdString(hashedFile.hash.toStdString())); - else - link = RetroShareLink::createExtraFile(hashedFile.filename, hashedFile.size, QString::fromStdString(hashedFile.hash.toStdString()),QString::fromStdString(rsPeers->getOwnId().toStdString())); + // We dont use extra links anymore, since files in the extra list can always be accessed using anonymous+encrypted FT. + + link = RetroShareLink::createFile(hashedFile.filename, hashedFile.size, QString::fromStdString(hashedFile.hash.toStdString())); if (hashedFile.flag & HashedFile::Picture) { message += QString("").arg(hashedFile.filepath);