mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-29 13:00:17 +02:00
fix: auto save rule
This commit is contained in:
parent
328bb72d65
commit
5fbfd5030c
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user