chore: fix types

This commit is contained in:
anatawa12 2025-04-08 00:43:00 +09:00
parent bf89a56fb5
commit 96c1ac2252
No known key found for this signature in database
GPG Key ID: 9CA909848B8E4EA6
1 changed files with 2 additions and 2 deletions

View File

@ -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);
};