FIX: when a user got multiple replies to a topic, emails were missing

This commit is contained in:
Sam
2016-01-27 12:19:49 +11:00
parent 12b85b9ef9
commit 1bb485fca5
8 changed files with 226 additions and 130 deletions

View File

@ -580,6 +580,10 @@ class Post < ActiveRecord::Base
SQL
end
def seen?(user)
PostTiming.where(topic_id: topic_id, post_number: post_number, user_id: user.id).exists?
end
private
def parse_quote_into_arguments(quote)