chore: fix types
This commit is contained in:
parent
bf89a56fb5
commit
96c1ac2252
|
@ -130,8 +130,8 @@ export class FanoutTimelineEndpointService {
|
||||||
if (!ps.ignoreAuthorFromUserSuspension) {
|
if (!ps.ignoreAuthorFromUserSuspension) {
|
||||||
if (note.user!.isSuspended) return false;
|
if (note.user!.isSuspended) return false;
|
||||||
}
|
}
|
||||||
if (note.userId !== note.renoteUserId && note.renoteUser?.isSuspended) return false;
|
if (note.userId !== note.renoteUserId && noteJoined.renoteUser?.isSuspended) return false;
|
||||||
if (note.userId !== note.replyUserId && note.replyUser?.isSuspended) return false;
|
if (note.userId !== note.replyUserId && noteJoined.replyUser?.isSuspended) return false;
|
||||||
|
|
||||||
return parentFilter(note);
|
return parentFilter(note);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue