diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp index 57775dba2..4a572d841 100644 --- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp @@ -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(); }