mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix bot buttons refresh.
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user