pump.io: Mirroring looked for the wrong date. Thanks to sazius for finding this.

This commit is contained in:
Michael Vogel 2014-05-15 23:20:11 +02:00
parent 3ebfe081ba
commit a43f2041d3

View File

@ -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;