Add: #363 特定サーバーの投稿にスタンプを付けることを禁止する管理者設定 (#364)

* Add: #363 特定サーバーの投稿にスタンプを付けることを禁止する管理者設定

* Fix test
This commit is contained in:
KMY(雪あすか) 2023-12-19 08:33:06 +09:00 committed by GitHub
parent 08f2fcb72b
commit 7b8fedb3cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 157 additions and 26 deletions

View file

@ -52,6 +52,7 @@ class Form::AdminSettings
enable_public_unlisted_visibility
unlocked_friend
enable_local_timeline
emoji_reaction_disallow_domains
).freeze
INTEGER_KEYS = %i(
@ -99,6 +100,7 @@ class Form::AdminSettings
ng_words_for_stranger_mention
sensitive_words
sensitive_words_for_full
emoji_reaction_disallow_domains
).freeze
attr_accessor(*KEYS)