diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 14ed76ed1f..a95b1c7c7a 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -1621,8 +1621,8 @@ imap_noop (CamelStore *store, CamelException *ex) current_folder = imap_store->current_folder; if (current_folder && imap_summary_is_dirty (current_folder->summary)) { - /* let's sync the flags instead */ - camel_folder_sync (current_folder, FALSE, ex); + /* let's sync the flags instead. NB: must avoid folder lock */ + ((CamelFolderClass *)((CamelObject *)current_folder)->klass)->sync(current_folder, FALSE, ex); } else { response = camel_imap_command (imap_store, NULL, ex, "NOOP"); if (response) |