Fix my Cyrus imapd workaround...instead of checking to see if info->flags
2001-10-18 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_sync_online): Fix my Cyrus imapd workaround...instead of checking to see if info->flags == FLAGGED, just check to see if it contains any IMAP flags. svn path=/trunk/; revision=13770
This commit is contained in:
committed by
Jeffrey Stedfast
parent
f19b05e456
commit
16dae9615e
@ -1,3 +1,9 @@
|
||||
2001-10-18 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* providers/imap/camel-imap-folder.c (imap_sync_online): Fix my
|
||||
Cyrus imapd workaround...instead of checking to see if info->flags
|
||||
== FLAGGED, just check to see if it contains any IMAP flags.
|
||||
|
||||
2001-10-17 <NotZed@Ximian.com>
|
||||
|
||||
* providers/local/camel-maildir-folder.c
|
||||
|
||||
@ -631,13 +631,13 @@ imap_sync_online (CamelFolder *folder, CamelException *ex)
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Note: Cyrus will not accept an empty-set of flags
|
||||
so... if this is true then we want to unset the
|
||||
previously set flags.*/
|
||||
unset = info->flags == CAMEL_MESSAGE_FOLDER_FLAGGED;
|
||||
/* Note: Cyrus is broken and will not accept an
|
||||
empty-set of flags so... if this is true then we
|
||||
want to unset the previously set flags.*/
|
||||
unset = !(info->flags & CAMEL_IMAP_SERVER_FLAGS);
|
||||
|
||||
/* FIXME: since we don't know the previously set
|
||||
flags, if unset is TRUE then assume all were set? */
|
||||
flags, if unset is TRUE then just unset all the flags? */
|
||||
flaglist = imap_create_flag_list (unset ? CAMEL_IMAP_SERVER_FLAGS : info->flags);
|
||||
|
||||
matches = get_matching (folder, info->flags & (CAMEL_IMAP_SERVER_FLAGS | CAMEL_MESSAGE_FOLDER_FLAGGED),
|
||||
|
||||
Reference in New Issue
Block a user