mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-23 08:14:25 +01:00
Make favourites stick, refactor some async logic in threads
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user