lib/chatterbot/search.rb in chatterbot-0.6.3 vs lib/chatterbot/search.rb in chatterbot-0.6.5
- old
+ new
@@ -26,10 +26,9 @@
debug "search: #{query} #{opts.merge(default_opts)}"
result = search_client.search(
exclude_retweets(query),
opts.merge(default_opts)
)
-
update_since_id(result.max_id)
result.collection.each { |s|
debug s.text
yield s unless ! block_given? || on_blacklist?(s) || skip_me?(s)