diff options
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 77bb37fa62..432e81539c 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1620,7 +1620,10 @@ refresh_folder_desc (struct _sync_folder_msg *m) static void refresh_folder_exec (struct _sync_folder_msg *m) { - camel_folder_refresh_info(m->folder, &m->base.ex); + camel_folder_sync (m->folder, FALSE, &m->base.ex); + + if (!camel_exception_is_set (&m->base.ex)) + camel_folder_refresh_info(m->folder, &m->base.ex); } /* we just use the sync stuff where we can, since it would be the same */ |