forked from rDrama/rDrama
fds
parent
c79da04884
commit
3dc2130e27
|
@ -167,7 +167,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
|
||||||
posts = posts.filter(Submission.created_utc < lt)
|
posts = posts.filter(Submission.created_utc < lt)
|
||||||
|
|
||||||
if not (v and v.shadowbanned):
|
if not (v and v.shadowbanned):
|
||||||
posts = posts.join(Submission.author.shadowbanned).filter(User.shadowbanned == False)
|
posts = posts.join(Submission.author.shadowbanned).filter(shadowbanned == False)
|
||||||
|
|
||||||
if sort == "hot":
|
if sort == "hot":
|
||||||
ti = int(time.time())
|
ti = int(time.time())
|
||||||
|
|
Loading…
Reference in New Issue