fix: condition

This commit is contained in:
Namekuji 2023-09-19 16:29:19 -04:00
parent f6980ca040
commit 297a765761
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -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([]);
}