0
0
Fork 0

Fix #3633 by not spawning RemoteProfileUpdateWorker from FetchRemoteAccountService (#3642)

This commit is contained in:
ThibG 2017-06-15 11:04:23 +02:00 committed by Eugen Rochko
parent 947887f261
commit 51b2f789bd
3 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
module AuthorExtractor
def author_from_xml(xml)
def author_from_xml(xml, update_profile = true)
return nil if xml.nil?
# Try <email> for acct
@ -18,6 +18,6 @@ module AuthorExtractor
acct = "#{username}@#{domain}"
end
FollowRemoteAccountService.new.call(acct)
FollowRemoteAccountService.new.call(acct, update_profile)
end
end