Revert "fix(backend): visibleUserIds was not considered for mute"

This reverts commit b8a4a33695.
This commit is contained in:
Sayamame-beans 2024-07-15 22:48:13 +09:00
parent 0bcd79b577
commit 3d2b495829
1 changed files with 0 additions and 4 deletions

View File

@ -12,10 +12,6 @@ export function isUserRelated(note: any, userIds: Set<string>, ignoreAuthor = fa
return true; 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)) { if (note.reply != null && note.reply.userId !== note.userId && userIds.has(note.reply.userId)) {
return true; return true;
} }