From 86e07518ad3279b7389b26e85faee1707fe9e99c Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 5 Oct 2021 16:53:36 +0400 Subject: [PATCH] Fix clearing notifications from Action Center. Regression was introduced in 997913be25. --- Telegram/SourceFiles/platform/win/notifications_manager_win.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/win/notifications_manager_win.cpp b/Telegram/SourceFiles/platform/win/notifications_manager_win.cpp index 852f07d38..69ffb8223 100644 --- a/Telegram/SourceFiles/platform/win/notifications_manager_win.cpp +++ b/Telegram/SourceFiles/platform/win/notifications_manager_win.cpp @@ -437,7 +437,6 @@ void Manager::Private::clearAll() { return; } - auto temp = base::take(_notifications); for (const auto &[key, notifications] : base::take(_notifications)) { for (const auto &[msgId, notification] : notifications) { _notifier.Hide(notification);