From d89659ef699b0d0db682ba7cc0807da397b73895 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 5 Sep 2021 20:58:26 +0300 Subject: [PATCH] Allow using thread/is_thread override criteria --- backend/src/pluginUtils.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/pluginUtils.ts b/backend/src/pluginUtils.ts index 309914f1..8e0cfaf6 100644 --- a/backend/src/pluginUtils.ts +++ b/backend/src/pluginUtils.ts @@ -62,6 +62,8 @@ const PluginOverrideCriteriaType: t.Type> = t.re const validTopLevelOverrideKeys = [ "channel", "category", + "thread", + "is_thread", "level", "user", "role",