Commit ff1be587 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(src/components/core/CoreManager): force zrtp, user certificate, root ca paths.

parent 2fa53641
......@@ -103,14 +103,10 @@ void CoreManager::setDatabasesPaths () {
}
void CoreManager::setOtherPaths () {
if (mCore->getZrtpSecretsFile().empty())
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilePath());
if (mCore->getUserCertificatesPath().empty())
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirPath());
if (mCore->getRootCa().empty())
mCore->setRootCa(Paths::getRootCaFilePath());
// Force paths. Ask me why if it's a problem for you.
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilePath());
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirPath());
mCore->setRootCa(Paths::getRootCaFilePath());
}
void CoreManager::setResourcesPaths () {
......
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