mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
comments: Check comment age against subreddit archive age.
This commit is contained in:
@@ -1766,7 +1766,7 @@ class Comment(Thing, Printable):
|
||||
item.is_author = (user == item.author)
|
||||
item.is_focal = (focal_comment == item._id36)
|
||||
|
||||
item.votable = not item.archived
|
||||
item.votable = item._age < item.subreddit.archive_age
|
||||
|
||||
hide_period = ('{0} minutes'
|
||||
.format(item.subreddit.comment_score_hide_mins))
|
||||
|
||||
Reference in New Issue
Block a user