`ActivityPub::ProcessAccountService`: Correct `force_` method names.
parent
6834ddffc9
commit
8d12242216
|
@ -53,8 +53,8 @@ class ActivityPub::ProcessAccountService < BaseService
|
||||||
@account.private_key = nil
|
@account.private_key = nil
|
||||||
@account.suspended_at = domain_block.created_at if auto_suspend?
|
@account.suspended_at = domain_block.created_at if auto_suspend?
|
||||||
@account.silenced_at = domain_block.created_at if auto_silence?
|
@account.silenced_at = domain_block.created_at if auto_silence?
|
||||||
@account.force_unlisted = true if force_unlisted?
|
@account.force_unlisted = true if auto_force_unlisted?
|
||||||
@account.force_sensitive = true if force_sensitive?
|
@account.force_sensitive = true if auto_force_sensitive?
|
||||||
end
|
end
|
||||||
|
|
||||||
def update_account
|
def update_account
|
||||||
|
|
Loading…
Reference in New Issue