forked from rDrama/rDrama
1
0
Fork 0

Revert "fuck's sake ruqqus"

This reverts commit 94d12cae47.
master
fireworks88 2021-09-09 20:50:36 +02:00
parent 94d12cae47
commit 66abce5c20
1 changed files with 1 additions and 3 deletions

View File

@ -242,15 +242,13 @@ def front_all(v):
ids, next_exists = frontlist(sort=sort,
page=page,
t=t,
ids_only=False,
v=v,
gt=int(request.args.get("utc_greater_than", 0)),
lt=int(request.args.get("utc_less_than", 0)),
filter_words=v.filter_words if v else [],
)
#posts = get_posts(ids, v=v)
posts=ids
posts = get_posts(ids, v=v)
if v and v.hidevotedon: posts = [x for x in posts if not hasattr(x, 'voted') or not x.voted]