diff --git a/app/models/mention.rb b/app/models/mention.rb index 42992bd5f..22dae4a02 100644 --- a/app/models/mention.rb +++ b/app/models/mention.rb @@ -13,6 +13,7 @@ class Mention < ActiveRecord::Base after_destroy :delete_notification def notify_recipient + Rails.logger.info "event=mention_sent id=#{self.id} to=#{person.diaspora_handle} from=#{post.person.diaspora_handle}" Notification.notify(person.owner, self, post.person) unless person.remote? end