From b414437f15ffd177a1945de5ede2af91d37ca362 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Fri, 15 May 2020 12:14:10 +0300 Subject: [PATCH] Update tray menu on notification sound change, again --- Telegram/SourceFiles/window/notifications_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/window/notifications_manager.cpp b/Telegram/SourceFiles/window/notifications_manager.cpp index 03ea5edb3..5cc8c142f 100644 --- a/Telegram/SourceFiles/window/notifications_manager.cpp +++ b/Telegram/SourceFiles/window/notifications_manager.cpp @@ -49,6 +49,8 @@ System::System(not_null session) if (type == ChangeType::DesktopEnabled) { App::wnd()->updateTrayMenu(); clearAll(); + } else if (type == ChangeType::SoundEnabled) { + App::wnd()->updateTrayMenu(); } else if (type == ChangeType::ViewParams) { updateAll(); } else if (type == ChangeType::IncludeMuted