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(
|
setNotificationsAllowed(
|
||||||
presence != LinphoneEnums::Presence::DoNotDisturb &&
|
presence != LinphoneEnums::Presence::Offline && presence != LinphoneEnums::Presence::DoNotDisturb &&
|
||||||
(presence != LinphoneEnums::Presence::Away ||
|
(presence != LinphoneEnums::Presence::Away ||
|
||||||
core->getConfig()->getBool(accountSection, "allow_notifications_in_presence_away", true)) &&
|
core->getConfig()->getBool(accountSection, "allow_notifications_in_presence_away", true)) &&
|
||||||
(presence != LinphoneEnums::Presence::Busy ||
|
(presence != LinphoneEnums::Presence::Busy ||
|
||||||
|
|
|
||||||
|
|
@ -94,6 +94,6 @@ ColumnLayout{
|
||||||
!= 0 ? getNextItem(
|
!= 0 ? getNextItem(
|
||||||
AppCpp.accounts.getCount()) : null
|
AppCpp.accounts.getCount()) : null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue