Update hub URL and re-subscribe if hub URL changes
This commit is contained in:
parent
4986c727d9
commit
2cb3dc5e5a
8 changed files with 23 additions and 23 deletions
|
@ -80,8 +80,7 @@ class FollowRemoteAccountService < BaseService
|
|||
end
|
||||
|
||||
def get_profile(xml, account)
|
||||
author = xml.at_xpath('/xmlns:feed/xmlns:author') || xml.at_xpath('/xmlns:feed').at_xpath('./dfrn:owner', dfrn: DFRN_NS)
|
||||
update_remote_profile_service.call(author, account)
|
||||
update_remote_profile_service.call(xml.at_xpath('/xmlns:feed'), account)
|
||||
end
|
||||
|
||||
def update_remote_profile_service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue