Skip to content

Commit

Permalink
fix issue ricochet-im#575: github user kradan
Browse files Browse the repository at this point in the history
  • Loading branch information
Eleanor McMurtry committed Jun 27, 2019
1 parent 11fdacc commit 3b8f4ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tor/TorControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3b8f4ba

Please sign in to comment.