forked from friendica/friendica-addons
pump.io: Mirroring looked for the wrong date. Thanks to sazius for finding this.
This commit is contained in:
parent
3ebfe081ba
commit
a43f2041d3
1 changed files with 3 additions and 3 deletions
|
@ -678,11 +678,11 @@ function pumpio_fetchtimeline(&$a, $uid) {
|
||||||
|
|
||||||
if (count($posts)) {
|
if (count($posts)) {
|
||||||
foreach ($posts as $post) {
|
foreach ($posts as $post) {
|
||||||
if ($post->generator->published <= $initiallastdate)
|
if ($post->published <= $initiallastdate)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if ($lastdate < $post->generator->published)
|
if ($lastdate < $post->published)
|
||||||
$lastdate = $post->generator->published;
|
$lastdate = $post->published;
|
||||||
|
|
||||||
if ($first_time)
|
if ($first_time)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue