Edgewall Software

Ticket #2247: trac-no-notify-updater-2247.patch

File trac-no-notify-updater-2247.patch, 0.8 KB (added by nielsen@…, 2 years ago)

Makes 'always_notify_updater = false' work as expected

  • trac/ticket/notification.py

    old new  
    247247 
    248248        if not notify_updater: 
    249249            filter_out = True 
    250             if notify_reporter and (updater == self.reporter): 
    251                 filter_out = False 
    252             if notify_owner and (updater == self.owner): 
    253                 filter_out = False 
     250            # if notify_reporter and (updater == self.reporter): 
     251            #     filter_out = False 
     252            # if notify_owner and (updater == self.owner): 
     253            #     filter_out = False 
    254254            if filter_out: 
    255255                torecipients = [r for r in torecipients if r and r != updater] 
     256                ccrecipients = [r for r in ccrecipients if r and r != updater] 
    256257        elif updater: 
    257258            torecipients.append(updater)