Add block from bot follow settings
This commit is contained in:
parent
214092b517
commit
ff994d78fa
12 changed files with 208 additions and 13 deletions
|
@ -235,6 +235,14 @@ module HasUserSettings
|
|||
settings['disallow_unlisted_public_searchability']
|
||||
end
|
||||
|
||||
def setting_lock_follow_from_bot
|
||||
settings['lock_follow_from_bot']
|
||||
end
|
||||
|
||||
def setting_stop_deliver_to_bot
|
||||
settings['stop_deliver_to_bot']
|
||||
end
|
||||
|
||||
def allows_report_emails?
|
||||
settings['notification_emails.report']
|
||||
end
|
||||
|
|
|
@ -40,6 +40,8 @@ class UserSettings
|
|||
setting :unsafe_limited_distribution, default: false
|
||||
setting :dtl_force_with_tag, default: :none, in: %w(full searchability none)
|
||||
setting :dtl_force_subscribable, default: false
|
||||
setting :lock_follow_from_bot, default: false
|
||||
setting :stop_deliver_to_bot, default: false
|
||||
|
||||
setting_inverse_alias :indexable, :noindex
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue