0001-Get-notified-about-other-watched-things-than-issues-.patch

Felix Schäfer, 2013-01-25 15:19

Download (1.14 KB)

View differences:

app/models/user.rb
578 578
    when 'only_my_events'
579 579
      if object.is_a?(Issue) && (object.author == self || is_or_belongs_to?(object.assigned_to) || is_or_belongs_to?(object.assigned_to_was))
580 580
        true
581
      elsif object.respond_to?(:watched_by?) && object.watched_by?(self) # Make it clear that we always want to be notified about things we watch in this case
582
        true
581 583
      else
582 584
        false
583 585
      end
584
-