Update for master

This commit is contained in:
Julien Wadel 2023-06-01 10:34:47 +02:00
parent e4b91a6a66
commit 7b9e9136dd

View file

@ -290,9 +290,10 @@ void CoreManager::createLinphoneCore (const QString &configPath) {
setOtherPaths();
mCore->enableFriendListSubscription(true);
mCore->enableRecordAware(true);
mCore->setAccountCreatorBackend(linphone::AccountCreatorBackend::FlexiAPI);
if(mCore->getAccountCreatorUrl() == "")
if(mCore->getAccountCreatorUrl() == ""){
mCore->setAccountCreatorBackend(linphone::AccountCreator::Backend::FlexiAPI);
mCore->setAccountCreatorUrl(Constants::DefaultFlexiAPIURL);
}
if( mCore->getAccountList().size() == 0)
mCore->setLogCollectionUploadServerUrl(Constants::DefaultUploadLogsServer);
}