From: Michael Vogel Date: Thu, 15 May 2014 21:20:11 +0000 (+0200) Subject: pump.io: Mirroring looked for the wrong date. Thanks to sazius for finding this. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a43f2041d3c4315dfc582a4aaff4e399f5453c89;p=friendica-addons.git pump.io: Mirroring looked for the wrong date. Thanks to sazius for finding this. --- diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 367879e6..f39bfef9 100755 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -678,11 +678,11 @@ function pumpio_fetchtimeline(&$a, $uid) { if (count($posts)) { foreach ($posts as $post) { - if ($post->generator->published <= $initiallastdate) + if ($post->published <= $initiallastdate) continue; - if ($lastdate < $post->generator->published) - $lastdate = $post->generator->published; + if ($lastdate < $post->published) + $lastdate = $post->published; if ($first_time) continue;