mirror of
https://github.com/friendica/friendica
synced 2024-12-23 07:20:15 +00:00
Bugfix: Probe - get the contact address from xrd 'subject' key
This commit is contained in:
parent
99aa9bedd0
commit
984bb2a808
1 changed files with 4 additions and 0 deletions
|
@ -962,6 +962,10 @@ class Probe
|
|||
}
|
||||
}
|
||||
|
||||
if (substr($webfinger["subject"], 0, 5) == "acct:") {
|
||||
$data["addr"] = substr($webfinger["subject"], 5);
|
||||
}
|
||||
|
||||
if (!isset($data["network"]) || ($hcard_url == "")) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue