From 96c1ac225208fa8cecccdcd92b78ad2492e3762a Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Tue, 8 Apr 2025 00:43:00 +0900 Subject: [PATCH] chore: fix types --- packages/backend/src/core/FanoutTimelineEndpointService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/core/FanoutTimelineEndpointService.ts b/packages/backend/src/core/FanoutTimelineEndpointService.ts index 825b08e1e6..449c2526c2 100644 --- a/packages/backend/src/core/FanoutTimelineEndpointService.ts +++ b/packages/backend/src/core/FanoutTimelineEndpointService.ts @@ -130,8 +130,8 @@ export class FanoutTimelineEndpointService { if (!ps.ignoreAuthorFromUserSuspension) { if (note.user!.isSuspended) return false; } - if (note.userId !== note.renoteUserId && note.renoteUser?.isSuspended) return false; - if (note.userId !== note.replyUserId && note.replyUser?.isSuspended) return false; + if (note.userId !== note.renoteUserId && noteJoined.renoteUser?.isSuspended) return false; + if (note.userId !== note.replyUserId && noteJoined.replyUser?.isSuspended) return false; return parentFilter(note); };