mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FEATURE: rush posting read times for newly read posts
FEATURE: "read" indicator on posts CHANGE: anon is now assumed to have read everything
This commit is contained in:
@ -183,6 +183,7 @@ class TopicView
|
||||
end
|
||||
|
||||
def read?(post_number)
|
||||
return true unless @user
|
||||
read_posts_set.include?(post_number)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user