DG IZ local person bug
This commit is contained in:
parent
0af6f7b0e5
commit
7316c6073c
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ module RequestsHelper
|
||||||
url = nil
|
url = nil
|
||||||
local_person = Person.by_webfinger identifier
|
local_person = Person.by_webfinger identifier
|
||||||
if local_person
|
if local_person
|
||||||
action = (local_person == current_user.local_person ? :none : :friend)
|
action = (local_person == current_user.person ? :none : :friend)
|
||||||
url = local_person.receive_url
|
url = local_person.receive_url
|
||||||
elsif !(identifier.include?(request.host) || identifier.include?("localhost"))
|
elsif !(identifier.include?(request.host) || identifier.include?("localhost"))
|
||||||
f = Redfinger.finger(identifier)
|
f = Redfinger.finger(identifier)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue