mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
keep_fresh_links: skip promoted links.
This commit is contained in:
@@ -41,7 +41,7 @@ def keep_fresh_links(item):
|
||||
|
||||
from r2.lib.promote import is_promo
|
||||
if is_promo(item):
|
||||
return (not item.over_18 or c.over18) and not item.hidden
|
||||
return False
|
||||
|
||||
return item.fresh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user