From 6ebcead94f8e7d9afc658b652420c1ed75919f49 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 20 Nov 2023 10:20:55 +0100 Subject: [PATCH] :bug: Fix incorrect feature checking on backend --- common/src/app/common/features.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/app/common/features.cljc b/common/src/app/common/features.cljc index 9de649a93..e0b19a156 100644 --- a/common/src/app/common/features.cljc +++ b/common/src/app/common/features.cljc @@ -141,7 +141,7 @@ :hint (str/ffmt "client declares no support for '%' features" (str/join "," not-supported))))) - (let [not-supported (set/difference client-features enabled-features)] + (let [not-supported (set/difference client-features supported-features)] (when (seq not-supported) (ex/raise :type :restriction :code :feature-not-supported