mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Removed display of notification action buttons under hidden preview.
This commit is contained in:
@@ -1614,7 +1614,7 @@ void NativeManager::doShowNotification(NotificationFields &&fields) {
|
||||
});
|
||||
} : Fn<NotificationSound()>();
|
||||
auto actions = std::vector<NotificationAction>();
|
||||
if (AllowNotificationActions(peer)) {
|
||||
if (AllowNotificationActions(peer) && !options.hideMarkAsRead) {
|
||||
if (const auto markup = item->inlineReplyMarkup()) {
|
||||
using ButtonType = HistoryMessageMarkupButton::Type;
|
||||
const auto &rows = markup->data.rows;
|
||||
|
||||
Reference in New Issue
Block a user