Commit 9e9570bd authored by Adrien Béraud's avatar Adrien Béraud

jamiaccount: use https by default if scheme is not specified

Change-Id: I73997e8cb3fe3754a506ffd8f8cbc659ce4cde95
parent 27668c3a
......@@ -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_);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment