deferred post loading in timeline

This commit is contained in:
ari melody 2024-06-21 05:38:34 +01:00
parent de71066f19
commit 46f1f93329
Signed by: ari
GPG key ID: CF99829C92678188
2 changed files with 25 additions and 8 deletions

View file

@ -92,6 +92,8 @@ export async function getTimeline(last_post_id) {
headers: { "Authorization": "Bearer " + client.app.token }
}).then(res => res.json());
return data;
let posts = [];
for (let i in data) {
const post_data = data[i];