statusnet: Retweets shouldn't be mirrored

This commit is contained in:
root 2013-01-01 18:30:47 +01:00
parent 1f5f0541ed
commit 285253e15e

View File

@ -787,6 +787,9 @@ function statusnet_fetchtimeline($a, $uid) {
if ($post->id > $lastid) if ($post->id > $lastid)
$lastid = $post->id; $lastid = $post->id;
if (is_object($post->retweeted_status))
continue;
if (!strpos($post->source, $a->get_hostname())) { if (!strpos($post->source, $a->get_hostname())) {
$_SESSION["authenticated"] = true; $_SESSION["authenticated"] = true;
$_SESSION["uid"] = $uid; $_SESSION["uid"] = $uid;