remove thread mention mail, use reply mail instead

This commit is contained in:
jomo
2015-02-08 01:47:20 +01:00
parent 8af9d9922b
commit 61f51666fb
6 changed files with 10 additions and 73 deletions

View File

@@ -32,8 +32,6 @@ class Comment < ActiveRecord::Base
def send_new_comment_mail(old_content = "")
userids = mentions(content) - mentions(old_content)
puts "userids: #{userids}"
# post + comments
comments = blogpost.comments.to_a
comments << blogpost if blogpost.author.mail_own_blogpost_comment?