From 3f6fd4bf8480e10594058b3deff1d527020c8d91 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 18 Dec 2016 20:34:34 +0000 Subject: [PATCH] Mastodon: Hopefully we can now detect reshares better --- include/ostatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ostatus.php b/include/ostatus.php index b38ad91d47..f9911bfaab 100644 --- a/include/ostatus.php +++ b/include/ostatus.php @@ -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)) {