This commit is contained in:
Aevann1 2022-01-22 18:36:01 +02:00
parent 6c44398f30
commit 3ced4ca8dc
2 changed files with 3 additions and 4 deletions

View file

@ -231,7 +231,7 @@ class User(Base):
posts = g.db.query(Submission.id).filter_by(author_id=self.id, is_pinned=False)
if not (v and (v.admin_level > 1 or v.id == self.id)):
posts = posts.filter_by(deleted_utc=0, is_banned=False, private=False)
posts = posts.filter_by(deleted_utc=0, is_banned=False, private=False, ghosts=None)
now = int(time.time())
if t == 'hour':