remotes/1693045480750635534/spooky-22
Aevann1 2022-04-04 20:48:46 +02:00
parent 6fab5f144e
commit 12e0c794e4
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ def notifications(v):
print("1: " + str(time.time()-t))
t = time.time()
sq = g.db.query(Comment.id).join(Notification, Notification.comment_id == Comment.id).distinct(Comment.top_comment_id).filter(
sq = g.db.query(Comment.id, Notification.created_utc).join(Notification, Notification.comment_id == Comment.id).distinct(Comment.top_comment_id).filter(
Notification.user_id == v.id,
Comment.is_banned == False,
Comment.deleted_utc == 0,