Skip to content

Commit

Permalink
EN-8090 fix: only slack mention on association
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-entourage committed Mar 6, 2025
1 parent 7f39de5 commit 2eddf26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,8 @@ def newsletter_subscription= newsletter_subscription

def signal_association
return unless address.present?
return unless saved_change_to_address_id? || (saved_change_to_goal? && goal_association?)
return unless saved_change_to_address_id? || saved_change_to_goal?
return unless goal_association?

SlackServices::SignalAssociationCreation.new(user: self).notify
end
Expand Down

0 comments on commit 2eddf26

Please sign in to comment.