mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-22 14:18:09 +00:00
make sure Linphone Core paths are only set if not available, also for zrtpSecrets
This commit is contained in:
parent
6a68d34fcf
commit
fbd2f7551c
1 changed files with 2 additions and 1 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue