mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Disable notifications if Offline status #LINQT-2173
This commit is contained in:
parent
0b9a0ead2a
commit
2fc4439e16
2 changed files with 2 additions and 2 deletions
|
|
@ -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 ||
|
||||
|
|
|
|||
|
|
@ -94,6 +94,6 @@ ColumnLayout{
|
|||
!= 0 ? getNextItem(
|
||||
AppCpp.accounts.getCount()) : null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue