0
0
Fork 0

Fix how other services used old FollowRemoteAccountService

This commit is contained in:
Eugen Rochko 2016-09-17 17:07:45 +02:00
parent 0e9c1a297a
commit 183a23943b
3 changed files with 8 additions and 3 deletions

View file

@ -15,7 +15,6 @@ class ProcessInteractionService < BaseService
if account.nil?
account = follow_remote_account_service.("#{username}@#{domain}", false)
return if account.nil?
end
if salmon.verify(envelope, account.keypair)
@ -36,6 +35,8 @@ class ProcessInteractionService < BaseService
delete_post!(xml, account)
end
end
rescue Goldfinger::Error, HTTP::Error
nil
end
private