Update profile information and download avatar of remote accounts
This commit is contained in:
parent
2825991e09
commit
ad5ae3f60e
9 changed files with 87 additions and 18 deletions
|
@ -19,6 +19,8 @@ class ProcessInteractionService < BaseService
|
|||
end
|
||||
|
||||
if salmon.verify(envelope, account.keypair)
|
||||
update_remote_profile_service.(xml.at_xpath('/xmlns:entry/xmlns:author'), account)
|
||||
|
||||
case verb(xml)
|
||||
when :follow
|
||||
follow!(account, target_account)
|
||||
|
@ -86,4 +88,8 @@ class ProcessInteractionService < BaseService
|
|||
def process_feed_service
|
||||
@process_feed_service ||= ProcessFeedService.new
|
||||
end
|
||||
|
||||
def update_remote_profile_service
|
||||
@update_remote_profile_service ||= UpdateRemoteProfileService.new
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue