about summary refs log tree commit diff
path: root/app/models/account_warning.rb
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-08-08 09:59:14 -0500
committermultiple creatures <dev@multiple-creature.party>2019-08-08 12:46:17 -0500
commit4dfc40324b1f3b20550982621501e162d2ed3bed (patch)
tree1578cba8809b7db27dc82f4d439471194d5fad31 /app/models/account_warning.rb
parentd019e55b7bc496d3c4d942fb4ffe65bb7e149249 (diff)
add new `reject unknown` policy option to prevent spam & harassment from large/undermoderated servers
Diffstat (limited to 'app/models/account_warning.rb')
-rw-r--r--app/models/account_warning.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account_warning.rb b/app/models/account_warning.rb
index 4e06cf3d0..ddc3ff96e 100644
--- a/app/models/account_warning.rb
+++ b/app/models/account_warning.rb
@@ -13,7 +13,7 @@
 #
 
 class AccountWarning < ApplicationRecord
-  enum action: %i(none disable force_sensitive force_unlisted silence suspend), _suffix: :action
+  enum action: %i(none disable force_sensitive force_unlisted silence suspend mark_unknown), _suffix: :action
 
   belongs_to :account, inverse_of: :account_warnings
   belongs_to :target_account, class_name: 'Account', inverse_of: :targeted_account_warnings