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 dbc17ef commit 855e8a6Copy full SHA for 855e8a6
lib/redmine_expo_push/patches/mailer_patch.rb
@@ -25,7 +25,7 @@ def deliver_mail(mail, &block)
25
next
26
end
27
notification ||= RedmineExpoPush::Notification.for(mail)
28
- notification.add_recipient user
+ notification.add_recipient user if user.push_device_registered?
29
skip_receivers << addr if user.push_skip_emails?
30
31
0 commit comments