Use camel_folder_sync_message() to sync messages.
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 23 Jun 2010 13:38:41 +0000 (14:38 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 23 Jun 2010 22:42:45 +0000 (23:42 +0100)
commit208b19fce147d20ce8432707fcfabc7a8e39395e
tree6bd8374d1670ac2f2f77240d33e94d7af3bded40
parent4928aaeaf4ab159d9ad040de744c7b1e9cdd4d06
Use camel_folder_sync_message() to sync messages.

The imapx back end will handle sync_message requests at a much lower
priority than normal get_message requests, as is right and proper.

It would help if the front end would call the correct method, so that
the prioritisation actually works as expected. Otherwise, sync_message
requests end up having higher priority than the requests which are updating
flags and headers for changed folders -- leading to a crappy user experience.
camel/camel-offline-folder.c