From: root Date: Tue, 1 Jan 2013 17:30:47 +0000 (+0100) Subject: statusnet: Retweets shouldn't be mirrored X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=285253e15e97484435f09173bf4373a476632ad9;p=friendica-addons.git statusnet: Retweets shouldn't be mirrored --- diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 9167425a..fa417665 100755 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -787,6 +787,9 @@ function statusnet_fetchtimeline($a, $uid) { if ($post->id > $lastid) $lastid = $post->id; + if (is_object($post->retweeted_status)) + continue; + if (!strpos($post->source, $a->get_hostname())) { $_SESSION["authenticated"] = true; $_SESSION["uid"] = $uid;