Commit 4c43ae2f authored by Wescoeur's avatar Wescoeur

fix(app): little fixes

parent b146db24
...@@ -70,7 +70,7 @@ void CoreHandlers::onMessageReceived ( ...@@ -70,7 +70,7 @@ void CoreHandlers::onMessageReceived (
void CoreHandlers::onNotifyPresenceReceivedForUriOrTel ( void CoreHandlers::onNotifyPresenceReceivedForUriOrTel (
const shared_ptr<linphone::Core> &, const shared_ptr<linphone::Core> &,
const shared_ptr<linphone::Friend> &linphone_friend, const shared_ptr<linphone::Friend> &,
const string &uri_or_tel, const string &uri_or_tel,
const shared_ptr<const linphone::PresenceModel> &presence_model const shared_ptr<const linphone::PresenceModel> &presence_model
) { ) {
...@@ -78,7 +78,7 @@ void CoreHandlers::onNotifyPresenceReceivedForUriOrTel ( ...@@ -78,7 +78,7 @@ void CoreHandlers::onNotifyPresenceReceivedForUriOrTel (
} }
void CoreHandlers::onNotifyPresenceReceived ( void CoreHandlers::onNotifyPresenceReceived (
const std::shared_ptr<linphone::Core> &core, const std::shared_ptr<linphone::Core> &,
const std::shared_ptr<linphone::Friend> &linphone_friend const std::shared_ptr<linphone::Friend> &linphone_friend
) { ) {
linphone_friend->getData<ContactModel>("contact-model").refreshPresence(); linphone_friend->getData<ContactModel>("contact-model").refreshPresence();
......
...@@ -97,7 +97,7 @@ bool AccountSettingsModel::addOrUpdateProxyConfig ( ...@@ -97,7 +97,7 @@ bool AccountSettingsModel::addOrUpdateProxyConfig (
proxy_config->setPublishExpires(data["registrationDuration"].toInt()); proxy_config->setPublishExpires(data["registrationDuration"].toInt());
proxy_config->setRoute(::Utils::qStringToLinphoneString(data["route"].toString())); proxy_config->setRoute(::Utils::qStringToLinphoneString(data["route"].toString()));
proxy_config->setContactParameters(::Utils::qStringToLinphoneString(data["contactParams"].toString())); proxy_config->setContactParameters(::Utils::qStringToLinphoneString(data["contactParams"].toString()));
proxy_config->setAvpfRrInterval(data["contactParams"].toInt()); proxy_config->setAvpfRrInterval(static_cast<uint8_t>(data["avpfInterval"].toInt()));
proxy_config->enableRegister(data["registerEnabled"].toBool()); proxy_config->enableRegister(data["registerEnabled"].toBool());
proxy_config->enablePublish(data["publishEnabled"].toBool()); proxy_config->enablePublish(data["publishEnabled"].toBool());
proxy_config->setAvpfMode(data["avpfEnabled"].toBool() proxy_config->setAvpfMode(data["avpfEnabled"].toBool()
......
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