commit 5fbfd5030ca83f3f2ad5a9fc31b55cc33dac06d5 parent 328bb72d65fcedda64376f2c786ad777c94e2502 Author: rhunk <101876869+rhunk@users.noreply.github.com> Date: Wed, 23 Aug 2023 12:12:46 +0200 fix: auto save rule Diffstat:
M | core/src/main/kotlin/me/rhunk/snapenhance/features/impl/tweaks/AutoSave.kt | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/kotlin/me/rhunk/snapenhance/features/impl/tweaks/AutoSave.kt b/core/src/main/kotlin/me/rhunk/snapenhance/features/impl/tweaks/AutoSave.kt @@ -74,7 +74,7 @@ class AutoSave : MessagingRuleFeature("Auto Save", MessagingRuleType.AUTO_SAVE, if (openedConversationUUID == null) return@canSave false val conversation = openedConversationUUID.toString() if (context.feature(StealthMode::class).canUseRule(conversation)) return@canSave false - if (canUseRule(conversation)) return@canSave false + if (!canUseRule(conversation)) return@canSave false } return true }