From a1645ddc5bb39393384a90c74c088439ed5f5fab Mon Sep 17 00:00:00 2001 From: Namekuji Date: Sun, 30 Apr 2023 09:04:07 -0400 Subject: [PATCH] can overlap with blocked hosts --- packages/backend/src/server/api/endpoints/admin/update-meta.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/admin/update-meta.ts b/packages/backend/src/server/api/endpoints/admin/update-meta.ts index 60a9e85a3..7f92e5e29 100644 --- a/packages/backend/src/server/api/endpoints/admin/update-meta.ts +++ b/packages/backend/src/server/api/endpoints/admin/update-meta.ts @@ -231,7 +231,7 @@ export default define(meta, paramDef, async (ps, me) => { set.silencedHosts = ps.silencedHosts.sort().filter((h) => { const lv = lastValue; lastValue = h; - return h !== "" && h !== lv && !set.blockedHosts?.includes(h); + return h !== "" && h !== lv; }); }