mirror of https://github.com/M66B/FairEmail.git
Prevent rule execution for read-only folders
This commit is contained in:
parent
9edafa09a3
commit
0e47c35bc1
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue