From ffe74005396237ee2658cfba7437bdf26761a6cb Mon Sep 17 00:00:00 2001 From: Ske Date: Sun, 8 Aug 2021 15:28:21 +0200 Subject: [PATCH] Fix system tags defaulting to off on servers with no per-guild settings --- PluralKit.Core/Database/Functions/functions.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Core/Database/Functions/functions.sql b/PluralKit.Core/Database/Functions/functions.sql index d1b40656..3c8e3f0f 100644 --- a/PluralKit.Core/Database/Functions/functions.sql +++ b/PluralKit.Core/Database/Functions/functions.sql @@ -45,7 +45,7 @@ as $$ system_last_switch.timestamp as last_switch_timestamp, system.tag as system_tag, system.guild_tag as system_guild_tag, - system.tag_enabled as tag_enabled, + coalesce(system.tag_enabled, true) as tag_enabled, system.avatar_url as system_avatar, system.account_autoproxy as allow_autoproxy, system.latch_timeout as latch_timeout