AyuGramDesktop/Telegram/SourceFiles/platform
Ilya Fedin b39e4a3138 Do not call CloseNotification for activatable services
If the notification daemon is an activatable GApplication service (e.g.
on Mate), then the notification daemon may terminate a short time after
the notification has vanished (usually 15s). In that case the
notification daemon may reuse notification IDs, which is incompatible
with our notification clearing.
Also the service may not be running at all, when we call the
CloseNotification endpoint.

To fix this, we simply disable the entire notification history clearing
functionality on such desktops by proactively clearing all notification
references from our internal notification manager.

Signed-off-by: Magnus Groß <magnus.gross@rwth-aachen.de>
2022-03-05 16:51:02 +04:00
..
linux Do not call CloseNotification for activatable services 2022-03-05 16:51:02 +04:00
mac Get rid of Q_OBJECT in macOS MainWindow 2022-03-05 16:47:38 +04:00
win Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
platform_audio.h Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-17 20:33:23 +04:00
platform_file_bookmark.h Move Media::Clip::Reader and FileLocation to td_ui. 2020-10-30 18:32:18 +03:00
platform_file_utilities.h Use some methods from lib_base 2020-10-30 10:52:49 +03:00
platform_integration.cpp Move global event filter to Platform::Integration on Windows. 2022-01-04 15:29:40 +03:00
platform_integration.h Move global event filter to Platform::Integration on Windows. 2022-01-04 15:29:40 +03:00
platform_launcher.h Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-17 20:33:23 +04:00
platform_main_window.h Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-17 20:33:23 +04:00
platform_notifications_manager.h Respect Focus Assist only for native notifications. 2021-04-28 11:20:39 +04:00
platform_specific.h Support autostart in Windows Store version. 2021-11-04 12:36:28 +04:00
platform_window_title.h Switch MainWindow to Ui::RpWindow 2021-07-28 18:05:39 +03:00