0
0
Fork 0

Add account suspension

This commit is contained in:
Eugen Rochko 2016-12-05 22:59:30 +01:00
parent 64d109dc0e
commit 39cc9fde8a
7 changed files with 24 additions and 10 deletions

View file

@ -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)