mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24:28 +00:00
Use the cache for the following page
This commit is contained in:
parent
4a22ac12a8
commit
3ba14d938f
1 changed files with 1 additions and 4 deletions
5
app.py
5
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,
|
||||
|
|
Loading…
Reference in a new issue