Merge remote-tracking branch 'parent/main' into upstream-20240517

This commit is contained in:
KMY 2024-05-17 08:53:59 +09:00
commit 094ff9d2ee
153 changed files with 1412 additions and 631 deletions

View file

@ -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'

View file

@ -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