Add account suspension
This commit is contained in:
parent
64d109dc0e
commit
39cc9fde8a
7 changed files with 24 additions and 10 deletions
|
@ -23,6 +23,8 @@ class ProcessInteractionService < BaseService
|
|||
account = follow_remote_account_service.call("#{username}@#{domain}")
|
||||
end
|
||||
|
||||
return if account.suspended?
|
||||
|
||||
if salmon.verify(envelope, account.keypair)
|
||||
update_remote_profile_service.call(xml.at_xpath('/xmlns:entry', xmlns: TagManager::XMLNS), account, true)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue