lib/ayadn/scroll.rb in ayadn-1.0.4 vs lib/ayadn/scroll.rb in ayadn-1.0.5

- old
+ new

@@ -34,10 +34,10 @@ begin stream = @api.get_unified(options) if Databases.has_new?(stream, 'unified') show(stream, options) end - unless stream['meta']['max_id'].nil? + unless stream['meta']['max_id'].nil? #check if there isn't lost posts Databases.save_max_id(stream) options = options_hash(stream) end sleep Settings.options[:scroll][:timer] rescue Interrupt