]> git.mxchange.org Git - friendica.git/commitdiff
Mastodon: Hopefully we can now detect reshares better
authorMichael <heluecht@pirati.ca>
Sun, 18 Dec 2016 20:34:34 +0000 (20:34 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 18 Dec 2016 20:34:34 +0000 (20:34 +0000)
include/ostatus.php

index b38ad91d479d1fa79d55049bb36a4df456d769c4..f9911bfaab7622925fff20a6b2718eaa734dcd16 100644 (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)) {