Skip to content

A platform for community discussion. Free, open, simple.

305 B
Raw Blame
# frozen_string_literal: true

module DiscourseReactions::PostAlerterExtension
  def should_notify_previous?(user, post, notification, opts)
    super ||
      (
        notification.notification_type == Notification.types[:reaction] &&
          should_notify_like?(user, notification)
      )
  end
end