From ef69796798ed7a8d3b9028de3dac487758dd7992 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 2 Jul 2025 07:20:51 +0400 Subject: [PATCH] Fix bot buttons refresh. --- Telegram/SourceFiles/history/history_item_components.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_item_components.cpp b/Telegram/SourceFiles/history/history_item_components.cpp index e1a013e786..3cb8a49bb7 100644 --- a/Telegram/SourceFiles/history/history_item_components.cpp +++ b/Telegram/SourceFiles/history/history_item_components.cpp @@ -1289,7 +1289,7 @@ void HistoryMessageReplyMarkup::updateSuggestControls( } data.flags &= ~ReplyMarkupFlag::SuggestionAccept; if (actions == SuggestionActions::None) { - data.flags &= ReplyMarkupFlag::SuggestionDecline; + data.flags &= ~ReplyMarkupFlag::SuggestionDecline; data.flags &= ~ReplyMarkupFlag::SuggestionSeparator; } else { if (!has(Type::SuggestDecline)) {