Skip to content

Commit

Permalink
fix(config/messagingtweaks): auto purge
Browse files Browse the repository at this point in the history
- sets to never by default
  • Loading branch information
bocajthomas authored Sep 20, 2024
1 parent a30846f commit 76e6817
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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() }
}
}

0 comments on commit 76e6817

Please sign in to comment.