Reshares had been detected falsely so that were rejected by Diaspora
This commit is contained in:
parent
aba93df94f
commit
53b7028d35
|
@ -965,7 +965,7 @@ class BBCode extends BaseObject
|
|||
}
|
||||
|
||||
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 {
|
||||
$text .= $headline . '<blockquote>' . trim($share[3]) . "</blockquote><br />";
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user