Skip to content

Commit

Permalink
send email#6174412 (event participation confirmation) only for unlimi…
Browse files Browse the repository at this point in the history
…ted places outings
  • Loading branch information
nicolas-entourage committed Mar 6, 2025
1 parent 93fd848 commit b9e1625
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/mailers/group_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def event_joined_confirmation event_id, user_id
event = Outing.find(event_id)
user = User.find(user_id)

return if event.place_limit?

IcalService.attach_ical(group: event, for_user: user, to: self)

mailjet_email(
Expand Down

0 comments on commit b9e1625

Please sign in to comment.