Commit 10189011 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(src/components/settings/AccountSettingsModel): replace `publishEnabled` by `publishPresence`

parent c0686613
...@@ -156,7 +156,7 @@ bool AccountSettingsModel::addOrUpdateProxyConfig ( ...@@ -156,7 +156,7 @@ bool AccountSettingsModel::addOrUpdateProxyConfig (
proxyConfig->setContactParameters(::Utils::appStringToCoreString(data["contactParams"].toString())); proxyConfig->setContactParameters(::Utils::appStringToCoreString(data["contactParams"].toString()));
proxyConfig->setAvpfRrInterval(static_cast<uint8_t>(data["avpfInterval"].toInt())); proxyConfig->setAvpfRrInterval(static_cast<uint8_t>(data["avpfInterval"].toInt()));
proxyConfig->enableRegister(data["registerEnabled"].toBool()); proxyConfig->enableRegister(data["registerEnabled"].toBool());
proxyConfig->enablePublish(data["publishEnabled"].toBool()); proxyConfig->enablePublish(data["publishPresence"].toBool());
proxyConfig->setAvpfMode(data["avpfEnabled"].toBool() proxyConfig->setAvpfMode(data["avpfEnabled"].toBool()
? linphone::AVPFMode::AVPFModeEnabled ? linphone::AVPFMode::AVPFModeEnabled
: linphone::AVPFMode::AVPFModeDefault : linphone::AVPFMode::AVPFModeDefault
......
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