diff --git a/packages/backend/src/core/FanoutTimelineEndpointService.ts b/packages/backend/src/core/FanoutTimelineEndpointService.ts index 49ba2c3c58..cd8c562bbd 100644 --- a/packages/backend/src/core/FanoutTimelineEndpointService.ts +++ b/packages/backend/src/core/FanoutTimelineEndpointService.ts @@ -134,10 +134,10 @@ export class FanoutTimelineEndpointService { const parentFilter = filter; filter = (note) => { if (!ps.ignoreAuthorFromInstanceBlock) { - if (note.userInstance?.isBlocked) return false; + if (note.user?.instance?.isBlocked) return false; } - if (note.userId !== note.renoteUserId && note.renoteUserInstance?.isBlocked) return false; - if (note.userId !== note.replyUserId && note.replyUserInstance?.isBlocked) return false; + if (note.userId !== note.renoteUserId && note.renote?.user?.instance?.isBlocked) return false; + if (note.userId !== note.replyUserId && note.reply?.user?.instance?.isBlocked) return false; return parentFilter(note); };