Rule improvements

This commit is contained in:
M66B
2019-01-21 18:37:09 +00:00
parent 84895b6077
commit 7f2b54f28b
3 changed files with 17 additions and 3 deletions

View File

@@ -2615,7 +2615,7 @@ public class ServiceSynchronize extends LifecycleService {
db.folder().setFolderKeywords(folder.id, DB.Converters.fromStringArray(fkeywords.toArray(new String[0])));
}
if (filter)
if (filter && Helper.isPro(context))
try {
for (EntityRule rule : rules)
if (rule.matches(context, message, imessage)) {