mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
[poll-create] Changed default enabled settings.
This commit is contained in:
@@ -394,7 +394,7 @@ void ActivateBotCommand(ClickHandlerContext context, int row, int column) {
|
||||
|
||||
case ButtonType::RequestPoll: {
|
||||
HideSingleUseKeyboard(controller, item);
|
||||
auto chosen = PollData::Flags();
|
||||
auto chosen = kDefaultPollCreateFlags;
|
||||
auto disabled = PollData::Flags();
|
||||
if (!button->data.isEmpty()) {
|
||||
disabled |= PollData::Flag::Quiz;
|
||||
|
||||
Reference in New Issue
Block a user