Merge remote-tracking branch 'parent/main' into upstream-20240218
This commit is contained in:
commit
a1f88f6001
27 changed files with 131 additions and 169 deletions
|
@ -17,7 +17,7 @@
|
|||
#
|
||||
|
||||
class AccountWarning < ApplicationRecord
|
||||
enum action: {
|
||||
enum :action, {
|
||||
none: 0,
|
||||
disable: 1_000,
|
||||
force_cw: 1_200,
|
||||
|
@ -26,7 +26,7 @@ class AccountWarning < ApplicationRecord
|
|||
sensitive: 2_000,
|
||||
silence: 3_000,
|
||||
suspend: 4_000,
|
||||
}, _suffix: :action
|
||||
}, suffix: :action
|
||||
|
||||
normalizes :text, with: ->(text) { text.to_s }, apply_to_nil: true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue