From 95c12b047560856e9dd78c8c97a87bdbe9bbddd8 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 31 Jan 2022 05:33:43 +0200 Subject: [PATCH] xcv --- files/routes/front.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index 71e778ef1..ea345c35c 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -91,7 +91,7 @@ def notifications(v): if not posts: listing = [] all = set() - for c in comments.reverse(): + for c in comments: c.is_blocked = False c.is_blocking = False if c.parent_submission and c.parent_comment and c.parent_comment.author_id == v.id: @@ -133,7 +133,7 @@ def notifications(v): all.add(c.id) listing.append(c) - listing = listing.reverse() + listing = listing if request.headers.get("Authorization"): return {"data":[x.json for x in listing]} return render_template("notifications.html",