about summary refs log tree commit diff
path: root/app/services/concerns
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2017-06-15 11:04:23 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-06-15 11:04:23 +0200
commit51b2f789bd1d6d4e00f02f5476ff7e6af25fce49 (patch)
tree27003842b7b89185038d986ec77610d9498d8667 /app/services/concerns
parent947887f261f74f84312327a5265553e8f16655fe (diff)
Fix #3633 by not spawning RemoteProfileUpdateWorker from FetchRemoteAccountService (#3642)
Diffstat (limited to 'app/services/concerns')
-rw-r--r--app/services/concerns/author_extractor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/concerns/author_extractor.rb b/app/services/concerns/author_extractor.rb
index 71bd32f37..ae32eebbb 100644
--- a/app/services/concerns/author_extractor.rb
+++ b/app/services/concerns/author_extractor.rb
@@ -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