* Fix: #588 リモート保留中ユーザーに関して、サスペンドから戻す操作を削除 * 条件を書く場所を変更 * 各アカウントの画面を調整
This commit is contained in:
parent
0a6e68255f
commit
1b3c0e3fb7
6 changed files with 30 additions and 4 deletions
|
@ -303,8 +303,7 @@ class Account < ApplicationRecord
|
|||
end
|
||||
|
||||
def reject_remote!
|
||||
update!(remote_pending: false)
|
||||
suspend!
|
||||
update!(remote_pending: false, suspension_origin: :local)
|
||||
end
|
||||
|
||||
def sensitized?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue