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 (
|
if (
|
||||||
mutedUserIds.includes(user.id) ||
|
me &&
|
||||||
blockerIds.includes(user.id) ||
|
(mutedUserIds.includes(user.id) ||
|
||||||
(user.host && mutedInstances.includes(user.host))
|
blockerIds.includes(user.id) ||
|
||||||
|
(user.host && mutedInstances.includes(user.host)))
|
||||||
) {
|
) {
|
||||||
return Notes.packMany([]);
|
return Notes.packMany([]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue