mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 19:38:09 +00:00
feat(AccountSettingsModel): addOrUpdateProxyConfig load nom xml config file before create config
This commit is contained in:
parent
e8f5964fc3
commit
ff985c090c
1 changed files with 8 additions and 1 deletions
|
|
@ -20,6 +20,7 @@
|
|||
* Author: Ronan Abhamon
|
||||
*/
|
||||
|
||||
#include "../../app/paths/Paths.hpp"
|
||||
#include "../../utils/Utils.hpp"
|
||||
#include "../core/CoreManager.hpp"
|
||||
|
||||
|
|
@ -168,7 +169,13 @@ bool AccountSettingsModel::addOrUpdateProxyConfig (
|
|||
}
|
||||
|
||||
shared_ptr<linphone::ProxyConfig> AccountSettingsModel::createProxyConfig () {
|
||||
return CoreManager::getInstance()->getCore()->createProxyConfig();
|
||||
shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore();
|
||||
|
||||
core->getConfig()->loadFromXmlFile(
|
||||
Paths::getAssistantConfigDirPath() + "create-linphone-sip-account.rc"
|
||||
);
|
||||
|
||||
return core->createProxyConfig();
|
||||
}
|
||||
|
||||
void AccountSettingsModel::addAuthInfo (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue