lib/tekeya/feed/activity/resque/activity_fanout.rb in tekeya-0.0.2 vs lib/tekeya/feed/activity/resque/activity_fanout.rb in tekeya-0.0.3
- old
+ new
@@ -13,9 +13,10 @@
# get the entity class
entity_type = entity_type.safe_constantize
entity = entity_type.where(entity_type.entity_primary_key.to_sym => entity_id).first
# we only need the feed keys of the trackers
entity_trackers_feeds = entity.trackers.map(&:feed_key)
+ entity_trackers_feeds << entity.feed_key
# keep track of the keys we delete in the trim operation for garbage collection
removed_keys = []
# write the activity to the aggregate set and the owner's feed
::Tekeya.redis.multi do
\ No newline at end of file