typo
This commit is contained in:
parent
1a279de573
commit
cb23ed1136
1 changed files with 3 additions and 3 deletions
|
|
@ -15,15 +15,15 @@ class EMWebfinger
|
||||||
end
|
end
|
||||||
def fetch
|
def fetch
|
||||||
if @callbacks.empty?
|
if @callbacks.empty?
|
||||||
Rails.logger.info("event=EMWebfinger status=abort target=#{account} callbacks=empty")
|
Rails.logger.info("event=EMWebfinger status=abort target=#{@account} callbacks=empty")
|
||||||
raise 'you need to set a callback before calling fetch'
|
raise 'you need to set a callback before calling fetch'
|
||||||
end
|
end
|
||||||
person = Person.by_account_identifier(@account)
|
person = Person.by_account_identifier(@account)
|
||||||
if person
|
if person
|
||||||
Rails.logger.info("event=EMWebfinger status=local target=#{account}")
|
Rails.logger.info("event=EMWebfinger status=local target=#{@account}")
|
||||||
process_callbacks person
|
process_callbacks person
|
||||||
else
|
else
|
||||||
Rails.logger.info("event=EMWebfinger status=remote target=#{account}")
|
Rails.logger.info("event=EMWebfinger status=remote target=#{@account}")
|
||||||
get_xrd
|
get_xrd
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue