Pass email to a contact harvester instance when persisting it

Add a ContactHarvester arg to ImapDB.Folder.create_or_merge_email and
call it on the resulting email. Add and update a new harvester
property to MinimalFolder and pass that in as needed.
This commit is contained in:
Michael Gratton 2019-06-10 08:54:05 +10:00 committed by Michael James Gratton
parent 65ab37938f
commit 03b5fcee8a
9 changed files with 52 additions and 5 deletions

View file

@ -20,6 +20,7 @@ geary_test_engine_sources = [
'engine/api/geary-email-properties-mock.vala',
'engine/api/geary-folder-mock.vala',
'engine/api/geary-folder-properties-mock.vala',
'engine/common/common-contact-harvester-mock.vala',
'engine/api/geary-account-information-test.vala',
'engine/api/geary-attachment-test.vala',