mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Add option to automatically delete toots after one week (#17691)
Fixes #17658
This commit is contained in:
parent
6d3fa7828e
commit
02dbc59c91
@ -23,6 +23,7 @@ class AccountStatusesCleanupPolicy < ApplicationRecord
|
|||||||
include Redisable
|
include Redisable
|
||||||
|
|
||||||
ALLOWED_MIN_STATUS_AGE = [
|
ALLOWED_MIN_STATUS_AGE = [
|
||||||
|
1.week.seconds,
|
||||||
2.weeks.seconds,
|
2.weeks.seconds,
|
||||||
1.month.seconds,
|
1.month.seconds,
|
||||||
2.months.seconds,
|
2.months.seconds,
|
||||||
|
@ -1487,6 +1487,7 @@ en:
|
|||||||
'2629746': 1 month
|
'2629746': 1 month
|
||||||
'31556952': 1 year
|
'31556952': 1 year
|
||||||
'5259492': 2 months
|
'5259492': 2 months
|
||||||
|
'604800': 1 week
|
||||||
'63113904': 2 years
|
'63113904': 2 years
|
||||||
'7889238': 3 months
|
'7889238': 3 months
|
||||||
min_age_label: Age threshold
|
min_age_label: Age threshold
|
||||||
|
Loading…
Reference in New Issue
Block a user