lib/stream/fires.rb in Stream-0.1.22 vs lib/stream/fires.rb in Stream-0.1.23

- old
+ new

@@ -16,10 +16,10 @@ opts[:subject] = :self unless opts.has_key?(:subject) method_name = :"fire_#{activity_type}_after_#{opts[:on]}" define_method(method_name) do - create_options = [:actor, :subject, :secondary_subject].inject({}) do |memo, sym| + create_options = [:actor, :subject, :secondary_subject, :is_hidden].inject({}) do |memo, sym| if opts[sym] if opts[sym].respond_to?(:call) memo[sym] = opts[sym].call(self) elsif opts[sym] == :self memo[sym] = self