]> git.mxchange.org Git - friendica-addons.git/commitdiff
pump.io: Mirroring looked for the wrong date. Thanks to sazius for finding this.
authorMichael Vogel <icarus@dabo.de>
Thu, 15 May 2014 21:20:11 +0000 (23:20 +0200)
committerMichael Vogel <icarus@dabo.de>
Thu, 15 May 2014 21:20:11 +0000 (23:20 +0200)
pumpio/pumpio.php

index 367879e61f8cedca0737cd053591e6417d37a997..f39bfef9597d94b7adbe96bc7a47b43eb37130c1 100755 (executable)
@@ -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;