mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
Really don't use comment page cache for moderators
This commit is contained in:
@@ -897,7 +897,7 @@ class CommentPane(Templated):
|
||||
# don't cache if the current user can ban comments in the listing
|
||||
try_cache = not sr.can_ban(c.user)
|
||||
# don't cache for users with custom hide threshholds
|
||||
try_cache = (c.user.pref_min_comment_score ==
|
||||
try_cache &= (c.user.pref_min_comment_score ==
|
||||
Account._defaults["pref_min_comment_score"])
|
||||
|
||||
def renderer():
|
||||
|
||||
Reference in New Issue
Block a user