MS added small log for when user is found from webfinger
This commit is contained in:
parent
07d2de6646
commit
5bf6d358a4
1 changed files with 2 additions and 1 deletions
|
|
@ -80,6 +80,7 @@ class Person
|
||||||
local_person = Person.first(:diaspora_handle => identifier.gsub('acct:', ''))
|
local_person = Person.first(:diaspora_handle => identifier.gsub('acct:', ''))
|
||||||
|
|
||||||
if local_person
|
if local_person
|
||||||
|
Rails.logger.info("Do not need to webfinger, found a local person #{local_person.real_name}")
|
||||||
local_person
|
local_person
|
||||||
elsif !identifier.include?("localhost") && !opts[:local]
|
elsif !identifier.include?("localhost") && !opts[:local]
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue