mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-02 20:29:23 +00:00
fix(app): little fixes
This commit is contained in:
parent
b146db243f
commit
4c43ae2ffa
2 changed files with 3 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ void CoreHandlers::onMessageReceived (
|
|||
|
||||
void CoreHandlers::onNotifyPresenceReceivedForUriOrTel (
|
||||
const shared_ptr<linphone::Core> &,
|
||||
const shared_ptr<linphone::Friend> &linphone_friend,
|
||||
const shared_ptr<linphone::Friend> &,
|
||||
const string &uri_or_tel,
|
||||
const shared_ptr<const linphone::PresenceModel> &presence_model
|
||||
) {
|
||||
|
|
@ -78,7 +78,7 @@ void CoreHandlers::onNotifyPresenceReceivedForUriOrTel (
|
|||
}
|
||||
|
||||
void CoreHandlers::onNotifyPresenceReceived (
|
||||
const std::shared_ptr<linphone::Core> &core,
|
||||
const std::shared_ptr<linphone::Core> &,
|
||||
const std::shared_ptr<linphone::Friend> &linphone_friend
|
||||
) {
|
||||
linphone_friend->getData<ContactModel>("contact-model").refreshPresence();
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ bool AccountSettingsModel::addOrUpdateProxyConfig (
|
|||
proxy_config->setPublishExpires(data["registrationDuration"].toInt());
|
||||
proxy_config->setRoute(::Utils::qStringToLinphoneString(data["route"].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->enablePublish(data["publishEnabled"].toBool());
|
||||
proxy_config->setAvpfMode(data["avpfEnabled"].toBool()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue