From 3ba14d938facf7ebe142bc5a684368ad52d4294a Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 21 Jul 2018 11:45:24 +0200 Subject: [PATCH] Use the cache for the following page --- app.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app.py b/app.py index 7b99cc1..b01992c 100644 --- a/app.py +++ b/app.py @@ -1685,10 +1685,7 @@ def following(): abort(404) following, older_than, newer_than = paginated_query(DB.activities, q) - following = [ - (doc["remote_id"], get_backend().fetch_iri(doc["activity"]["object"])) - for doc in following - ] + following = [doc["meta"]["object"] for doc in following] return render_template( "following.html", following_data=following,