statusnet: Retweets shouldn't be mirrored

pull/91/head
root 2013-01-01 18:30:47 +01:00
parent 1f5f0541ed
commit 285253e15e
1 changed files with 3 additions and 0 deletions

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;