Mastodon: Hopefully we can now detect reshares better

This commit is contained in:
Michael 2016-12-18 20:34:34 +00:00
parent a8e80ef0a6
commit 3f6fd4bf84

View File

@ -467,7 +467,7 @@ class ostatus {
}
// Is it a repeated post?
if ($repeat_of != "") {
if (($repeat_of != "") OR ($item["verb"] == ACTIVITY_SHARE)) {
$activityobjects = $xpath->query('activity:object', $entry)->item(0);
if (is_object($activityobjects)) {