From 721dd29b833d2dc31453ef0742b274fd76619322 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 13 Sep 2021 16:37:46 +0200 Subject: [PATCH] fd --- files/classes/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/user.py b/files/classes/user.py index c324b41491..9b6279f9f7 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -373,7 +373,7 @@ class User(Base, Stndrd, Age_times): def notification_messages(self, page=1): comments = g.db.query(Comment.id).filter(or_(Comment.author_id==self.id, Comment.sentto==self.id), Comment.parent_submission == None).order_by(Comment.created_utc.desc(), not_(Comment.child_comments.any())).offset(25*(page-1)).limit(26).all() - return comments + return [c[0] for c in comments] @property @lazy