sforkowany z mirror/friendica
Bugfix: Probe - get the contact address from xrd 'subject' key
rodzic
99aa9bedd0
commit
984bb2a808
|
@ -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;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue