Commit fbd2f755 authored by Johan Pascal's avatar Johan Pascal

make sure Linphone Core paths are only set if not available, also for zrtpSecrets

parent 6a68d34f
......@@ -92,7 +92,8 @@ void CoreManager::setDatabasesPaths () {
}
void CoreManager::setOtherPaths () {
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilepath());
if (mCore->getZrtpSecretsFile().empty())
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilepath());
if (mCore->getUserCertificatesPath().empty())
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirpath());
......
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