Fix quiet time support when checking whether to notify for new messages
This commit is contained in:
parent
93eb2dbd9b
commit
c757bf1076
1 changed files with 4 additions and 0 deletions
|
@ -2709,6 +2709,10 @@ public class MessagingController {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (K9.isQuietTime() && !K9.isNotificationDuringQuietTimeEnabled()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Do not notify if the user does not have notifications enabled or if the message has
|
||||
// been read.
|
||||
if (!account.isNotifyNewMail() || message.isSet(Flag.SEEN) || isOldMessage) {
|
||||
|
|
Loading…
Reference in a new issue