0
0
Fork 0

Update hub URL and re-subscribe if hub URL changes

This commit is contained in:
Eugen Rochko 2016-11-26 15:12:57 +01:00
parent 4986c727d9
commit 2cb3dc5e5a
8 changed files with 23 additions and 23 deletions

View file

@ -16,7 +16,7 @@ class ProcessFeedService < BaseService
def update_author(xml, account)
return if xml.at_xpath('/xmlns:feed').nil?
UpdateRemoteProfileService.new.call(xml.at_xpath('/xmlns:feed/xmlns:author'), account)
UpdateRemoteProfileService.new.call(xml.at_xpath('/xmlns:feed'), account, true)
end
def process_entries(xml, account)