mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 18:43:15 +00:00
statusnet: Retweets shouldn't be mirrored
This commit is contained in:
parent
1f5f0541ed
commit
285253e15e
1 changed files with 3 additions and 0 deletions
|
@ -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