]> cat aescling's git repositories - mastodon.git/commit
Use server-provided poll limits instead of hardcoded ones
authorThibaut Girka <thib@sitedethib.com>
Wed, 6 Mar 2019 12:42:48 +0000 (13:42 +0100)
committerThibG <thib@sitedethib.com>
Wed, 6 Mar 2019 22:56:53 +0000 (23:56 +0100)
commit235be596bc6a6ed6a042975ac7f698695d6cda19
tree0e52fe57987e7d64fdcd239c73d91a7193c5f1ed
parent3b1390dc789b52cf570a179daf50d4cb8afbfbcd
Use server-provided poll limits instead of hardcoded ones

Also does not enable polls if no limits are provided by the server
app/javascript/flavours/glitch/features/composer/options/index.js
app/javascript/flavours/glitch/features/composer/poll_form/components/poll_form.js
app/javascript/flavours/glitch/util/initial_state.js