From 28a5b6e8653da9314ae56d211bab51c828ff76ee Mon Sep 17 00:00:00 2001 From: Eleanor McMurtry Date: Thu, 27 Jun 2019 22:47:44 +1000 Subject: [PATCH] fix issue #575: github user kradan --- src/tor/TorControl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tor/TorControl.cpp b/src/tor/TorControl.cpp index d5a70912..e4c81fa1 100644 --- a/src/tor/TorControl.cpp +++ b/src/tor/TorControl.cpp @@ -522,6 +522,10 @@ void TorControlPrivate::publishServices() .arg(tit->targetAddress.toString()) .arg(tit->targetPort); torConfig.append(qMakePair(QByteArray("HiddenServicePort"), target.toLatin1())); + + // Via github user @kradan: https://github.com/kradan/ricochet/commit/a34e8123b382b6e4ec490c633141510f26ff11dd + QString version = QString::fromLatin1("3"); + torConfig.append(qMakePair(QByteArray("HiddenServiceVersion"), version.toLatin1())); } QObject::connect(command, &SetConfCommand::setConfSucceeded, service, &HiddenService::servicePublished);