diff options
author | Mario de la Ossa <mariodelaossa@gmail.com> | 2019-07-24 06:36:07 +0300 |
---|---|---|
committer | Mario de la Ossa <mariodelaossa@gmail.com> | 2019-07-26 06:09:25 +0300 |
commit | 10a42a8a76c281fad735f89cb3c37caf2acd6e04 (patch) | |
tree | 2329ccd5fcdf6920fd282d21d8706ea846a37110 /app/services | |
parent | a1d1b3aa89850844f824205eb75c56af3b5228f3 (diff) |
Respect alt email when sending group access notifications
When sending access granted/rejected emails we should also respect
custom emails set for groups/sub-groups
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/notification_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index a55771ed538..21fab22e0d4 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -595,7 +595,7 @@ class NotificationService end def deliver_access_request_email(recipient, member) - mailer.member_access_requested_email(member.real_source_type, member.id, recipient.user.notification_email).deliver_later + mailer.member_access_requested_email(member.real_source_type, member.id, recipient.user.id).deliver_later end def fallback_to_group_owners_maintainers?(recipients, member) |