From 8f14d43eedd366291c4a249ecda3bc3611880fd2 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Mon, 27 Apr 2026 18:27:34 +0300 Subject: [PATCH] Removed display of notification action buttons under hidden preview. --- Telegram/SourceFiles/window/notifications_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/window/notifications_manager.cpp b/Telegram/SourceFiles/window/notifications_manager.cpp index 6aec58db09..055a2de35b 100644 --- a/Telegram/SourceFiles/window/notifications_manager.cpp +++ b/Telegram/SourceFiles/window/notifications_manager.cpp @@ -1614,7 +1614,7 @@ void NativeManager::doShowNotification(NotificationFields &&fields) { }); } : Fn(); auto actions = std::vector(); - if (AllowNotificationActions(peer)) { + if (AllowNotificationActions(peer) && !options.hideMarkAsRead) { if (const auto markup = item->inlineReplyMarkup()) { using ButtonType = HistoryMessageMarkupButton::Type; const auto &rows = markup->data.rows;