aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-12-07 10:02:43 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-12-07 10:02:43 +0800
commit3bd0a70d2294faeb5b5b53672e53210bf83d6f83 (patch)
tree6e2838687f4ddcf1fa8f51277d502edd97180063 /camel/providers/imap
parent591a66f4ebc8aea2dd0bf480ca2181ff91a33bf6 (diff)
downloadgsoc2013-evolution-3bd0a70d2294faeb5b5b53672e53210bf83d6f83.tar
gsoc2013-evolution-3bd0a70d2294faeb5b5b53672e53210bf83d6f83.tar.gz
gsoc2013-evolution-3bd0a70d2294faeb5b5b53672e53210bf83d6f83.tar.bz2
gsoc2013-evolution-3bd0a70d2294faeb5b5b53672e53210bf83d6f83.tar.lz
gsoc2013-evolution-3bd0a70d2294faeb5b5b53672e53210bf83d6f83.tar.xz
gsoc2013-evolution-3bd0a70d2294faeb5b5b53672e53210bf83d6f83.tar.zst
gsoc2013-evolution-3bd0a70d2294faeb5b5b53672e53210bf83d6f83.zip
We want to bitwise-or the server and cached flags here so that we keep the
2000-12-06 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (imap_refresh_info): We want to bitwise-or the server and cached flags here so that we keep the flags that we have set locally and set any additional flags that a parallel connection may have set. svn path=/trunk/; revision=6834
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-folder.c8
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));
}