mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Fix encryption enabling when creating an account on the first start of the application.
This commit is contained in:
parent
94fcbdfc66
commit
345492adb2
3 changed files with 5 additions and 3 deletions
|
|
@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Order messages from receiving time.
|
||||
- Fix H264 download URL on Linux.
|
||||
- Hide Admin status in One-to-one chats.
|
||||
- Encryption wasn't enabled after creating an account with lime url without having to restart the application.
|
||||
|
||||
## 4.4.1 - 2022-04-06
|
||||
|
||||
|
|
|
|||
|
|
@ -414,11 +414,11 @@ void AssistantModel::setConfigFilename (const QString &configFilename) {
|
|||
|
||||
QString configPath = Utils::coreStringToAppString(Paths::getAssistantConfigDirPath()) + configFilename;
|
||||
qInfo() << QStringLiteral("Set config on assistant: `%1`.").arg(configPath);
|
||||
|
||||
CoreManager::getInstance()->getCore()->getConfig()->loadFromXmlFile(
|
||||
auto core = CoreManager::getInstance()->getCore();
|
||||
core->getConfig()->loadFromXmlFile(
|
||||
Utils::appStringToCoreString(configPath)
|
||||
);
|
||||
|
||||
core->enableLimeX3Dh(core->getLimeX3DhServerUrl() != "");
|
||||
emit configFilenameChanged(configFilename);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -376,6 +376,7 @@ shared_ptr<linphone::ProxyConfig> AccountSettingsModel::createProxyConfig (const
|
|||
shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore();
|
||||
qInfo() << QStringLiteral("Set config on assistant: `%1`.").arg(assistantFile);
|
||||
core->getConfig()->loadFromXmlFile(Paths::getAssistantConfigDirPath() + assistantFile.toStdString());
|
||||
core->enableLimeX3Dh(core->getLimeX3DhServerUrl() != "");
|
||||
return core->createProxyConfig();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue