mirror of https://github.com/tootsuite/mastodon
Fix remote accounts being possibly persisted to database with incomplete protocol values (#25886)
parent
8695409035
commit
bd2429b716
|
@ -59,6 +59,9 @@ class ActivityPub::ProcessAccountService < BaseService
|
|||
@account.suspended_at = domain_block.created_at if auto_suspend?
|
||||
@account.suspension_origin = :local if auto_suspend?
|
||||
@account.silenced_at = domain_block.created_at if auto_silence?
|
||||
|
||||
set_immediate_protocol_attributes!
|
||||
|
||||
@account.save
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue