i2p: bob: add option to disable bob CONFIG+=no_rs_bob

This commit is contained in:
sehraf 2020-05-25 21:51:06 +02:00
parent 9a5504bb47
commit a5a2b49d99
No known key found for this signature in database
GPG key ID: DF09F6EAE356B2C6
4 changed files with 21 additions and 0 deletions

View file

@ -83,6 +83,10 @@ ServerPage::ServerPage(QWidget * parent, Qt::WindowFlags flags)
manager = NULL ;
mOngoingConnectivityCheck = -1;
#ifndef RS_USE_I2P_BOB
ui.hiddenServiceTab->removeTab(TAB_HIDDEN_SERVICE_I2P_BOB); // warning: the order of operation here is very important.
#endif
if(RsAccounts::isHiddenNode())
{
if(RsAccounts::isTorAuto())