i2p: bob: convert bobSettings to i2p::settings

This commit is contained in:
sehraf 2020-05-08 16:33:47 +02:00
parent 4b6e12ca45
commit 6136416b56
No known key found for this signature in database
GPG key ID: DF09F6EAE356B2C6
4 changed files with 35 additions and 53 deletions

View file

@ -1724,7 +1724,7 @@ int RsServer::StartupRetroShare()
// now enable bob
bobSettings bs;
autoProxy->taskSync(autoProxyType::I2PBOB, autoProxyTask::getSettings, &bs);
bs.enableBob = true;
bs.enable = true;
autoProxy->taskSync(autoProxyType::I2PBOB, autoProxyTask::setSettings, &bs);
} else {
std::cerr << "RsServer::StartupRetroShare failed to receive keys" << std::endl;