aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2015-06-20 01:55:54 +0900
committerKazuki Yamaguchi <k@rhe.jp>2015-06-20 01:55:54 +0900
commit06c4ec9195c990a00bd3fa7ab0e909230e118343 (patch)
tree8d588a090d6a91d9efba07a1e8beec9a5511abc9 /lib
parent3d548bfb2cbd26f57baf2a28fb36fff983cee16e (diff)
downloadaclog-06c4ec9195c990a00bd3fa7ab0e909230e118343.tar.gz
Collector: EventQueue: fix Settings name
Diffstat (limited to 'lib')
-rw-r--r--lib/collector/event_queue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/collector/event_queue.rb b/lib/collector/event_queue.rb
index 2686cdd..8222b78 100644
--- a/lib/collector/event_queue.rb
+++ b/lib/collector/event_queue.rb
@@ -37,7 +37,7 @@ module Collector
Retweet.delete_bulk_from_json(deletes)
end
- if Settings.notification.enabled?
+ if Settings.notification.enabled
tweet_ids = favorites.map {|f| f[:target_object][:id] }
if tweet_ids.size > 0
Tweet.where(id: tweet_ids).each do |tweet|