diff --git a/packages/backend/src/misc/is-user-related.ts b/packages/backend/src/misc/is-user-related.ts index a15e7b5f1f..1604fd0419 100644 --- a/packages/backend/src/misc/is-user-related.ts +++ b/packages/backend/src/misc/is-user-related.ts @@ -12,10 +12,6 @@ export function isUserRelated(note: any, userIds: Set, ignoreAuthor = fa return true; } - if (note.visibleUserIds != null && note.visibleUserIds.filter(userId => userId !== note.userId && userIds.has(userId)).length > 0) { - return true; - } - if (note.reply != null && note.reply.userId !== note.userId && userIds.has(note.reply.userId)) { return true; }