mirror of
https://github.com/mastodon/mastodon
synced 2025-04-12 00:56:38 +02:00

Use the smallest preset expires_in such that the new poll would not expire before the old one. In the typical case of a quick delete & redraft, this results in using the same poll duration. Fixes #10567