diff src/google.coffee @ 19:6b3f38af3fa4

use child_process for backend
author Mathias Gebbe <mgebbe@intevation.de>
date Fri, 13 Jun 2014 18:13:36 +0200
parents c552faae9c1c
children b90e6df48d2d
line wrap: on
line diff
--- a/src/google.coffee	Fri Jun 13 16:37:20 2014 +0200
+++ b/src/google.coffee	Fri Jun 13 18:13:36 2014 +0200
@@ -49,7 +49,7 @@
         (callback) ->
           getStream(user, friend, callback)
         (stream, callback) ->
-          return if not stream?
+          return if not stream? or not stream.items? or stream.items.length is 0
           async.each stream.items, ((post, cb) ->
             async.waterfall [
               (callback) ->
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)