Run rules / update contact info on message add

This commit is contained in:
M66B 2019-09-17 16:46:36 +02:00
parent 1982c72f03
commit 48c2dd9b20
1 changed files with 4 additions and 0 deletions

View File

@ -595,6 +595,10 @@ class Core {
Log.i(folder.name + " appended uid=" + uid);
db.message().setMessageUid(message.id, uid);
List<EntityRule> rules = db.rule().getEnabledRules(folder.id);
runRules(context, imessage, message, rules);
updateContactInfo(context, folder, message);
for (Message iexisting : imessages) {
long muid = ifolder.getUID(iexisting);
if (muid != uid)