mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-26 23:43:06 +02:00
Fix bot buttons refresh.
This commit is contained in:
parent
869854fbc2
commit
ef69796798
1 changed files with 1 additions and 1 deletions
|
@ -1289,7 +1289,7 @@ void HistoryMessageReplyMarkup::updateSuggestControls(
|
||||||
}
|
}
|
||||||
data.flags &= ~ReplyMarkupFlag::SuggestionAccept;
|
data.flags &= ~ReplyMarkupFlag::SuggestionAccept;
|
||||||
if (actions == SuggestionActions::None) {
|
if (actions == SuggestionActions::None) {
|
||||||
data.flags &= ReplyMarkupFlag::SuggestionDecline;
|
data.flags &= ~ReplyMarkupFlag::SuggestionDecline;
|
||||||
data.flags &= ~ReplyMarkupFlag::SuggestionSeparator;
|
data.flags &= ~ReplyMarkupFlag::SuggestionSeparator;
|
||||||
} else {
|
} else {
|
||||||
if (!has(Type::SuggestDecline)) {
|
if (!has(Type::SuggestDecline)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue