ItemSync: Allow to disable the automatic delivery done feature
Review Request #117673 - Created April 21, 2014 and submitted
ItemSync: Allow to disable the automatic delivery done feature The imap resource relies on the item sync only finishing once deliveryDone is called, but setTotalItems is still useful for the progress reporting, which only the ItemSync can accurately do. This patch allows to use setTotalItems for progress reporting, while disabling the behaviour that the ItemSync automatically finishes once sufficient items were delivered.
Seems ok, thanks. I think that requiring resource implementations to explicitly call deliveryDone() is a better default behavior than the "smart automagic". I added it to the Frameworks/Akonadi page.