mail_new_activity: hat is in From header, no need to add in body

This commit is contained in:
joshua stein 2016-11-03 16:20:07 -05:00
parent de4df43c7c
commit 1637ee8117

View file

@ -219,11 +219,6 @@ last_comment_id, false, false).order(:id).each do |c|
body = []
if c.hat
body.push "[ Posted while wearing #{c.hat.hat} hat ]"
body.push ""
end
# if the comment has hard line breaks at <80, it likely came from an
# email, so don't re-wrap it at something shorter
com = c.comment.to_s