Fix bot buttons refresh.

This commit is contained in:
John Preston 2025-07-02 07:20:51 +04:00
parent 869854fbc2
commit ef69796798

View file

@ -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)) {