We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8be1db commit dbc17efCopy full SHA for dbc17ef
lib/redmine_expo_push/patches/mailer_patch.rb
@@ -21,6 +21,9 @@ def deliver_mail(mail, &block)
21
receivers.each do |addr|
22
user = User.having_mail(addr).first
23
if user.present? and user.send_push_notifications?
24
+ if mail.subject == l(:mail_subject_lost_password, Setting.app_title)
25
+ next
26
+ end
27
notification ||= RedmineExpoPush::Notification.for(mail)
28
notification.add_recipient user
29
skip_receivers << addr if user.push_skip_emails?
0 commit comments