Fix how other services used old FollowRemoteAccountService
This commit is contained in:
parent
0e9c1a297a
commit
183a23943b
3 changed files with 8 additions and 3 deletions
|
@ -127,10 +127,11 @@ class ProcessFeedService < BaseService
|
|||
|
||||
if account.nil?
|
||||
account = follow_remote_account_service.("#{username}@#{domain}", false)
|
||||
return nil if account.nil?
|
||||
end
|
||||
|
||||
Status.new(account: account, uri: target_id(xml), text: target_content(xml), url: target_url(xml))
|
||||
rescue Goldfinger::Error, HTTP::Error
|
||||
nil
|
||||
end
|
||||
|
||||
def published(xml)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue