From 01773e5bb1f6744d0a83cfce20dcaa0615b1af4c Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 30 Nov 2022 10:51:03 +0400 Subject: [PATCH] Fix custom notifications in topics. --- Telegram/SourceFiles/window/notifications_manager_default.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/window/notifications_manager_default.cpp b/Telegram/SourceFiles/window/notifications_manager_default.cpp index e36bb9aed..d2ac7f26e 100644 --- a/Telegram/SourceFiles/window/notifications_manager_default.cpp +++ b/Telegram/SourceFiles/window/notifications_manager_default.cpp @@ -952,7 +952,7 @@ void Notification::updateNotifyDisplay() { context); _textRect = r; paintText(p); - if (!_textCache.hasPersistentAnimation()) { + if (!_textCache.hasPersistentAnimation() && !_topic) { _textCache = Ui::Text::String(); } } else {