fix: condition
This commit is contained in:
parent
f6980ca040
commit
297a765761
1 changed files with 4 additions and 3 deletions
|
@ -126,9 +126,10 @@ export default define(meta, paramDef, async (ps, me) => {
|
|||
}
|
||||
|
||||
if (
|
||||
mutedUserIds.includes(user.id) ||
|
||||
blockerIds.includes(user.id) ||
|
||||
(user.host && mutedInstances.includes(user.host))
|
||||
me &&
|
||||
(mutedUserIds.includes(user.id) ||
|
||||
blockerIds.includes(user.id) ||
|
||||
(user.host && mutedInstances.includes(user.host)))
|
||||
) {
|
||||
return Notes.packMany([]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue