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