Make favourites stick, refactor some async logic in threads

This commit is contained in:
Alex Gleason
2023-08-29 14:44:59 -05:00
parent d4612d5f21
commit 2ee29bf1e2
5 changed files with 34 additions and 25 deletions

View File

@@ -109,7 +109,7 @@ const accountStatusesController: AppController = async (c) => {
events = events.filter((event) => !findReplyTag(event));
}
const statuses = await Promise.all(events.map(toStatus));
const statuses = await Promise.all(events.map((event) => toStatus(event, c.get('pubkey'))));
return paginated(c, events, statuses);
};