Reshares had been detected falsely so that were rejected by Diaspora

This commit is contained in:
Michael 2018-05-03 13:03:41 +00:00
parent aba93df94f
commit 53b7028d35
2 changed files with 5 additions and 5 deletions

View file

@ -3571,8 +3571,12 @@ class Diaspora
$ret["root_guid"] = $guid;
return $ret;
}
} elseif (($guid == "") && $complete) {
return false;
}
$ret["root_guid"] = $guid;
$profile = "";
preg_match("/profile='(.*?)'/ism", $attributes, $matches);
if ($matches[1] != "") {
@ -3593,10 +3597,6 @@ class Diaspora
}
}
if (!empty($guid)) {
$ret["root_guid"] = $guid;
}
if (empty($ret) && !$complete) {
return true;
}