Reshares had been detected falsely so that were rejected by Diaspora
This commit is contained in:
parent
aba93df94f
commit
53b7028d35
2 changed files with 5 additions and 5 deletions
|
@ -965,7 +965,7 @@ class BBCode extends BaseObject
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stripos(normalise_link($link), 'http://twitter.com/') === 0) {
|
if (stripos(normalise_link($link), 'http://twitter.com/') === 0) {
|
||||||
$text .= '<br /><a href="' . $link . '" title="' . $link . '">' . $link . '</a>';
|
$text .= '<br /><a href="' . $link . '">' . $link . '</a>';
|
||||||
} else {
|
} else {
|
||||||
$text .= $headline . '<blockquote>' . trim($share[3]) . "</blockquote><br />";
|
$text .= $headline . '<blockquote>' . trim($share[3]) . "</blockquote><br />";
|
||||||
|
|
||||||
|
|
|
@ -3571,8 +3571,12 @@ class Diaspora
|
||||||
$ret["root_guid"] = $guid;
|
$ret["root_guid"] = $guid;
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
} elseif (($guid == "") && $complete) {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$ret["root_guid"] = $guid;
|
||||||
|
|
||||||
$profile = "";
|
$profile = "";
|
||||||
preg_match("/profile='(.*?)'/ism", $attributes, $matches);
|
preg_match("/profile='(.*?)'/ism", $attributes, $matches);
|
||||||
if ($matches[1] != "") {
|
if ($matches[1] != "") {
|
||||||
|
@ -3593,10 +3597,6 @@ class Diaspora
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($guid)) {
|
|
||||||
$ret["root_guid"] = $guid;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (empty($ret) && !$complete) {
|
if (empty($ret) && !$complete) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue