diff options
author | Mario de la Ossa <mariodelaossa@gmail.com> | 2019-07-23 21:36:07 -0600 |
---|---|---|
committer | Mario de la Ossa <mariodelaossa@gmail.com> | 2019-07-25 21:09:25 -0600 |
commit | 10a42a8a76c281fad735f89cb3c37caf2acd6e04 (patch) | |
tree | 2329ccd5fcdf6920fd282d21d8706ea846a37110 /app/services/notification_service.rb | |
parent | a1d1b3aa89850844f824205eb75c56af3b5228f3 (diff) | |
download | gitlab-ce-10a42a8a76c281fad735f89cb3c37caf2acd6e04.tar.gz |
Respect alt email when sending group access notifications63568-access-email-notifications-custom-email
When sending access granted/rejected emails we should also respect
custom emails set for groups/sub-groups
Diffstat (limited to 'app/services/notification_service.rb')
-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) |