Improve Report Notes and Account Moderation Notes (#30288)
This commit is contained in:
parent
c2ca3d152f
commit
5fd56512de
7 changed files with 47 additions and 22 deletions
|
@ -13,7 +13,7 @@
|
|||
#
|
||||
|
||||
class AccountModerationNote < ApplicationRecord
|
||||
CONTENT_SIZE_LIMIT = 500
|
||||
CONTENT_SIZE_LIMIT = 2_000
|
||||
|
||||
belongs_to :account
|
||||
belongs_to :target_account, class_name: 'Account'
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#
|
||||
|
||||
class ReportNote < ApplicationRecord
|
||||
CONTENT_SIZE_LIMIT = 500
|
||||
CONTENT_SIZE_LIMIT = 2_000
|
||||
|
||||
belongs_to :account
|
||||
belongs_to :report, inverse_of: :notes, touch: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue