pump.io: Mirroring looked for the wrong date. Thanks to sazius for finding this.
parent
3ebfe081ba
commit
a43f2041d3
|
@ -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 New Issue