From 76e6817f1105d22dbe2c2e99a93d22754e3d1078 Mon Sep 17 00:00:00 2001 From: bocajthomas <41988041+bocajthomas@users.noreply.github.com> Date: Fri, 20 Sep 2024 04:09:47 +0100 Subject: [PATCH] fix(config/messagingtweaks): auto purge - sets to never by default --- .../rhunk/snapenhance/common/config/impl/MessagingTweaks.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/kotlin/me/rhunk/snapenhance/common/config/impl/MessagingTweaks.kt b/common/src/main/kotlin/me/rhunk/snapenhance/common/config/impl/MessagingTweaks.kt index f36dad8e3..de0b03f3d 100644 --- a/common/src/main/kotlin/me/rhunk/snapenhance/common/config/impl/MessagingTweaks.kt +++ b/common/src/main/kotlin/me/rhunk/snapenhance/common/config/impl/MessagingTweaks.kt @@ -23,7 +23,7 @@ class MessagingTweaks : ConfigContainer() { val autoPurge = unique("auto_purge", *PURGE_VALUES) { customOptionTranslationPath = PURGE_TRANSLATION_KEY disabledKey = PURGE_DISABLED_KEY - }.apply { set("3_days") } + }.apply { set("never") } val messageFilter = multiple("message_filter", "CHAT", "SNAP", @@ -95,4 +95,4 @@ class MessagingTweaks : ConfigContainer() { val bypassMessageRetentionPolicy = boolean("bypass_message_retention_policy") { addNotices(FeatureNotice.UNSTABLE); requireRestart() } val bypassMessageActionRestrictions = boolean("bypass_message_action_restrictions") { requireRestart() } val removeGroupsLockedStatus = boolean("remove_groups_locked_status") { requireRestart() } -} \ No newline at end of file +}