mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
Don't show hidden promoted links.
This commit is contained in:
@@ -43,7 +43,7 @@ def keep_fresh_links(item):
|
||||
|
||||
from r2.lib.promote import is_promo
|
||||
if is_promo(item):
|
||||
return True
|
||||
return not item.hidden
|
||||
|
||||
return item.fresh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user