]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/ActivityPub/Transmitter.php
We only need to fetch the content once
[friendica.git] / src / Protocol / ActivityPub / Transmitter.php
index 671f4279a2d21a04474830aeb854a4d59fd662ae..c8285aa35a9e3449d2682f314e0656948fa1a567 100644 (file)
@@ -553,10 +553,7 @@ class Transmitter
                // Only check for a reshare, if it is a real reshare and no quoted reshare
                if (strpos($item['body'], "[share") === 0) {
                        $announce = api_share_as_retweet($item);
-                       if (!empty($announce['plink'])) {
-                               $data = ActivityPub::fetchContent($announce['plink'], $item['uid']);
-                               $reshared = !empty($data);
-                       }
+                       $reshared = !empty($announce['plink']);
                }
 
                if ($reshared) {