diff --git a/Linphone/model/account/AccountModel.cpp b/Linphone/model/account/AccountModel.cpp index e47b10a9f..44f8d0925 100644 --- a/Linphone/model/account/AccountModel.cpp +++ b/Linphone/model/account/AccountModel.cpp @@ -585,7 +585,7 @@ void AccountModel::setPresence(LinphoneEnums::Presence presence, } setNotificationsAllowed( - presence != LinphoneEnums::Presence::DoNotDisturb && + presence != LinphoneEnums::Presence::Offline && presence != LinphoneEnums::Presence::DoNotDisturb && (presence != LinphoneEnums::Presence::Away || core->getConfig()->getBool(accountSection, "allow_notifications_in_presence_away", true)) && (presence != LinphoneEnums::Presence::Busy || diff --git a/Linphone/view/Page/Main/Account/AccountListView.qml b/Linphone/view/Page/Main/Account/AccountListView.qml index 8026ace43..98d80954b 100644 --- a/Linphone/view/Page/Main/Account/AccountListView.qml +++ b/Linphone/view/Page/Main/Account/AccountListView.qml @@ -94,6 +94,6 @@ ColumnLayout{ != 0 ? getNextItem( AppCpp.accounts.getCount()) : null } - } +}