Don't skip native notification toasts

This commit is contained in:
Ilya Fedin 2021-01-14 13:05:11 +04:00 committed by John Preston
parent e8edbb16ae
commit 894d6028bd

View file

@ -667,6 +667,13 @@ bool SkipAudio() {
}
bool SkipToast() {
// Do not skip native notifications because of Do not disturb.
// They respect this setting anyway.
if ((Core::App().settings().nativeNotifications() && Supported())
|| Enforced()) {
return false;
}
return Inhibited();
}