diff --git a/app/models/appendable/reaction.rb b/app/models/appendable/reaction.rb index df498b18..80916d5e 100644 --- a/app/models/appendable/reaction.rb +++ b/app/models/appendable/reaction.rb @@ -9,7 +9,7 @@ class Appendable::Reaction < Appendable end before_destroy do - Notification.denotify parent.user, self unless parent.user == user + Notification.denotify parent.user, self user.decrement! :smiled_count parent.decrement! :smile_count end