about summary refs log tree commit diff
path: root/app/workers/activitypub/distribution_worker.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-02 00:36:16 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-07-02 00:36:16 +0200
commitdc88d226e1fdb20499d6e81838b81894b2d0be2d (patch)
treeb167fddbcc50172ae7a357b47e2899005175f4bd /app/workers/activitypub/distribution_worker.rb
parent0d9ffe56fb59e0d1fce91265f44140d874c0bfba (diff)
When deleting & redrafting a poll, fill in closest expires_in (#11203)
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
Diffstat (limited to 'app/workers/activitypub/distribution_worker.rb')
0 files changed, 0 insertions, 0 deletions