forked from friendica/friendica-addons
statusnet: Retweets shouldn't be mirrored
This commit is contained in:
parent
1f5f0541ed
commit
285253e15e
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue