th: fix automod, aka forgot to commit this
ci/woodpecker/push/woodpecker Pipeline was successful Details

main
kouhai dev 2024-02-23 16:45:43 -08:00
parent e589897399
commit 6178a3c684
1 changed files with 1 additions and 0 deletions

View File

@ -118,5 +118,6 @@ module Mastodon
value = ENV.fetch('TH_MENTION_SPAM_THRESHOLD', '0').to_i
value == 0 ? Float::INFINITY : value
end
config.x.th_automod.min_account_age_threshold = ENV.fetch('TH_MIN_ACCOUNT_AGE_THRESHOLD', '2').to_i.days
end
end