AyuGramDesktop/Telegram/SourceFiles
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
..
_other Revert "Use kernel accelerated sendfile to copy files on Linux" 2021-12-02 09:15:23 +04:00
api Moved out importChatInvite from ApiWrap. 2022-03-04 11:25:10 +03:00
boxes Fixed ability to send file to photo/video album from EditCaptionBox. 2022-03-04 18:58:07 +03:00
calls Improve title text in RTMP full screen. 2022-03-04 18:24:44 +04:00
chat_helpers Replaced EditLinkBox with generic box. 2022-03-04 11:25:10 +03:00
codegen/scheme Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
core Beta version 3.5.4. 2022-03-01 19:38:33 +03:00
countries Split qt_adapters to separated files. 2022-01-26 10:33:28 +03:00
data Handle documentLoadProgress instead of itemRepaintRequest. 2022-03-01 17:32:39 +03:00
dialogs Fix download bar close in a hidden window. 2022-03-04 15:37:50 +04:00
editor Fixed display photo with modifications as file in attach media preview. 2022-03-04 18:58:07 +03:00
export Removed Ui::ConfirmDontWarnBox. 2022-02-28 09:08:01 +03:00
ffmpeg Fix build against FFmpeg v5.0 2022-02-28 20:22:18 +03:00
history Do not remove notification reference on NotificationClosed 2022-03-05 16:51:02 +04:00
info Added to PeerListDelegate methods to show content. 2022-03-04 11:25:10 +03:00
inline_bots Remove unused variables 2022-02-28 23:11:07 +03:00
intro Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
lang Removed Ui::ConfirmDontWarnBox. 2022-02-28 09:08:01 +03:00
layout Add support for SVG patterns in wallpapers. 2021-08-11 19:56:12 +03:00
main Handle documentLoadProgress instead of itemRepaintRequest. 2022-03-01 17:32:39 +03:00
media Added disable-autoplay-next option. 2022-03-05 12:40:49 +03:00
mtproto Update User-Agent for DNS to Chrome 98.0.4758.102. 2022-03-01 12:44:36 +03:00
overview Use nice media names in Downloads. 2022-02-27 20:26:52 +03:00
passport Support emoji in account names. 2022-03-01 13:25:42 +03:00
payments Fix empty state of Downloads section. 2022-02-27 20:26:52 +03:00
platform Do not call CloseNotification for activatable services 2022-03-05 16:51:02 +04:00
profile Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
settings Added disable-autoplay-next option. 2022-03-05 12:40:49 +03:00
storage Beta version 3.5.3: Fix build with GCC. 2022-02-28 23:25:55 +03:00
support Move SendPreloadRequest out of HistoryWidget. 2022-02-10 15:20:37 +03:00
ui Fixed display photo with modifications as file in attach media preview. 2022-03-04 18:58:07 +03:00
window Update icons for folders. 2022-03-04 14:25:25 +04:00
apiwrap.cpp Moved out importChatInvite from ApiWrap. 2022-03-04 11:25:10 +03:00
apiwrap.h Moved out importChatInvite from ApiWrap. 2022-03-04 11:25:10 +03:00
config.h Moved some constants for peer editing to separated file. 2021-10-19 06:34:27 +03:00
facades.cpp Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
facades.h Removed Main::Session forward declaration from data_types. 2021-09-01 01:23:20 +03:00
logs.cpp Decrypt shiftedDcId / protocolDcId in mtp_ logs. 2022-02-07 15:26:26 +03:00
logs.h Fix possible deadlock in debug logs. 2021-05-13 15:36:08 +04:00
main.cpp Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
mainwidget.cpp Removed Ui::hideSettingsAndLayer(). 2022-03-04 11:25:10 +03:00
mainwidget.h Preload chats in support switch. 2022-02-08 00:24:11 +03:00
mainwindow.cpp Removed Ui::hideSettingsAndLayer(). 2022-03-04 11:25:10 +03:00
mainwindow.h Open specific chat only in one window. 2022-01-04 19:36:33 +03:00
settings.cpp Display dates with the system date format 2021-10-11 21:56:29 +04:00
settings.h Display dates with the system date format 2021-10-11 21:56:29 +04:00
stdafx.h Add Qt 6 support 2021-10-21 13:15:00 +04:00