mirror of https://github.com/M66B/FairEmail.git
Run rules / update contact info on message add
This commit is contained in:
parent
1982c72f03
commit
48c2dd9b20
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue