mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 02:48:28 +08:00
FIX: when a user got multiple replies to a topic, emails were missing
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user