mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Prevent rule execution for read-only folders
This commit is contained in:
@@ -4221,6 +4221,8 @@ class Core {
|
||||
EntityAccount account, EntityFolder folder, EntityMessage message,
|
||||
List<EntityRule> rules) {
|
||||
|
||||
if (account.protocol == EntityAccount.TYPE_IMAP && folder.read_only)
|
||||
return;
|
||||
if (!ActivityBilling.isPro(context))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user