diff --git a/app/javascript/mastodon/features/compose/components/poll_form.js b/app/javascript/mastodon/features/compose/components/poll_form.js index 43430ac08..e656b35d3 100644 --- a/app/javascript/mastodon/features/compose/components/poll_form.js +++ b/app/javascript/mastodon/features/compose/components/poll_form.js @@ -77,7 +77,7 @@ class Option extends React.PureComponent {
- {options.size < 6 && ( + {options.size < 33 && ( )} diff --git a/app/validators/poll_validator.rb b/app/validators/poll_validator.rb index 10e0b8413..898c0c67b 100644 --- a/app/validators/poll_validator.rb +++ b/app/validators/poll_validator.rb @@ -1,8 +1,8 @@ # frozen_string_literal: true class PollValidator < ActiveModel::Validator - MAX_OPTIONS = 6 - MAX_OPTION_CHARS = 111 + MAX_OPTIONS = 33 + MAX_OPTION_CHARS = 202 MAX_EXPIRATION = 6.months.freeze MIN_EXPIRATION = 1.minute.freeze