diff --git a/src/handlers.ts b/src/handlers.ts index 6ed8cd7c..cd4d1976 100644 --- a/src/handlers.ts +++ b/src/handlers.ts @@ -584,7 +584,7 @@ export async function inboxHandler( // Prepare the items for the response const items: unknown[] = []; - for (const item of inbox) { + for (const item of inbox.slice(-50)) { try { const builtInboxItem = await buildActivity(item, globaldb, apCtx, liked);