Bugfix: Friendica contacts were detected as Diaspora contacts. (Poco)
This commit is contained in:
parent
b86b6e8e77
commit
d9f222b330
|
@ -157,7 +157,7 @@ function poco_check($profile_url, $name, $network, $profile_photo, $about, $loca
|
||||||
if (($network == "") OR ($name == "") OR ($profile_photo == "")) {
|
if (($network == "") OR ($name == "") OR ($profile_photo == "")) {
|
||||||
require_once("include/Scrape.php");
|
require_once("include/Scrape.php");
|
||||||
|
|
||||||
$data = probe_url($profile_url, PROBE_DIASPORA);
|
$data = probe_url($profile_url);
|
||||||
$network = $data["network"];
|
$network = $data["network"];
|
||||||
$name = $data["name"];
|
$name = $data["name"];
|
||||||
$profile_photo = $data["photo"];
|
$profile_photo = $data["photo"];
|
||||||
|
|
Loading…
Reference in a new issue