[poll-create] Changed default enabled settings.

This commit is contained in:
23rd
2026-03-29 20:56:00 +03:00
parent ee073f2e9b
commit d5f4c5366c
8 changed files with 34 additions and 25 deletions
+1 -1
View File
@@ -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;