mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
disable friend server on non tor node
This commit is contained in:
parent
af0bea49c5
commit
58e3c04801
@ -27,6 +27,7 @@
|
||||
|
||||
#include <retroshare/rspeers.h>
|
||||
#include <retroshare/rshistory.h>
|
||||
#include <retroshare/rsinit.h>
|
||||
|
||||
#include "chat/ChatUserNotify.h"
|
||||
#include "connect/ConnectFriendWizard.h"
|
||||
@ -92,6 +93,7 @@ FriendsDialog::FriendsDialog(QWidget *parent) : MainPage(parent)
|
||||
|
||||
ui.tabWidget->setTabPosition(QTabWidget::North);
|
||||
#ifdef RS_EMBEDED_FRIEND_SERVER
|
||||
if(RsAccounts::isTorAuto())
|
||||
ui.tabWidget->addTab(friendServerControl = new FriendServerControl(),QIcon(IMAGE_PEERS), tr("Friend Server"));
|
||||
#endif
|
||||
ui.tabWidget->addTab(networkView = new NetworkView(),QIcon(IMAGE_NETWORK2), tr("Network graph"));
|
||||
|
Loading…
Reference in New Issue
Block a user