kotatogram-desktop/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
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
core Beta version 3.5.4. 2022-03-01 19:38:33 +03:00
countries
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
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
intro
lang
layout
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
overview
passport Support emoji in account names. 2022-03-01 13:25:42 +03:00
payments
platform Do not call CloseNotification for activatable services 2022-03-05 16:51:02 +04:00
profile
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
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
facades.cpp
facades.h
logs.cpp
logs.h
main.cpp
mainwidget.cpp Removed Ui::hideSettingsAndLayer(). 2022-03-04 11:25:10 +03:00
mainwidget.h
mainwindow.cpp Removed Ui::hideSettingsAndLayer(). 2022-03-04 11:25:10 +03:00
mainwindow.h
settings.cpp
settings.h
stdafx.h