From 285253e15e97484435f09173bf4373a476632ad9 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 1 Jan 2013 18:30:47 +0100 Subject: [PATCH] statusnet: Retweets shouldn't be mirrored --- statusnet/statusnet.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 9167425ad..fa4176651 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;