diff --git a/src/jamidht/jamiaccount.cpp b/src/jamidht/jamiaccount.cpp index 7a5b40183981c6d31997fbb7ebd75ed67c2d2249..feb1e6ea3da73baa25129488ae65a0d028f4fc82 100644 --- a/src/jamidht/jamiaccount.cpp +++ b/src/jamidht/jamiaccount.cpp @@ -1402,6 +1402,9 @@ JamiAccount::setAccountDetails(const std::map<std::string, std::string>& details std::remove(proxyCachePath.c_str()); std::remove(proxyListCachePath.c_str()); } + if (managerUri_.rfind("http", 0) != 0) { + managerUri_ = "https://" + managerUri_; + } #if HAVE_RINGNS parseString(details, DRing::Account::ConfProperties::RingNS::URI, nameServer_);