lib/stream/fires.rb in Stream-0.1.9 vs lib/stream/fires.rb in Stream-0.1.10

- old
+ new

@@ -45,10 +45,10 @@ last_activity = ActivityItem.find(:first, :conditions => ["subject_type = ? AND subject_id = ? AND DATE(updated_at) = current_date", photo.class,photo.id]) unless last_activity && (gallery.eql?(last_activity.subject.gallery)) ([activity.actor] + gallery.allowed_contacts).each do |p| - activity.is_hidden = p.subject.approval_status==true ? true : false + activity.is_hidden = activity.subject.approval_status==true ? true : false activity.photos << activity.subject activity.save p.activity_items << activity end else