diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 35346813db..b6f6cc1132 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -311,8 +311,12 @@ imap_refresh_info (CamelFolder *folder, CamelException *ex) /* Update summary flags */ if (info->flags != new[i].flags) { - info->flags = new[i].flags; - camel_object_trigger_event (CAMEL_OBJECT (folder), + /* Keep the flags that we have set locally and set + any additional flags that a parallel connection + may have set. */ + info->flags |= new[i].flags; + + camel_object_trigger_event (CAMEL_OBJECT (folder), "message_changed", (char *)camel_message_info_uid(info)); } |