]> git.mxchange.org Git - friendica-addons.git/commitdiff
statusnet: Retweets shouldn't be mirrored
authorroot <root@pirati.ca>
Tue, 1 Jan 2013 17:30:47 +0000 (18:30 +0100)
committerroot <root@pirati.ca>
Tue, 1 Jan 2013 17:30:47 +0000 (18:30 +0100)
statusnet/statusnet.php

index 9167425ad63f581bac726bf0bab5a8e42414b15b..fa4176651220ed8b4b595172d340c14fcbff6b8f 100755 (executable)
@@ -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;