evolution-data-server r9036 - trunk/camel/providers/imap



Author: mcrha
Date: Tue Jun 24 13:15:46 2008
New Revision: 9036
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9036&view=rev

Log:
2008-06-24  Milan Crha  <mcrha redhat com>

	** Fix for bug #531712

	* camel-imap-folder.c: (imap_sync_online):
	Do not reset flags on no-flag situation, rather add and remove there
	the \Seen flag, which will ensure to keep there flags set on the server
	by other users in shared folders, for example.



Modified:
   trunk/camel/providers/imap/ChangeLog
   trunk/camel/providers/imap/camel-imap-folder.c

Modified: trunk/camel/providers/imap/camel-imap-folder.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-folder.c	(original)
+++ trunk/camel/providers/imap/camel-imap-folder.c	Tue Jun 24 13:15:46 2008
@@ -1184,7 +1184,7 @@
 			flaglist = strdup ("(\\Seen)");
 
 			response = camel_imap_command (store, folder, &local_ex,
-					       "UID STORE %s FLAGS.SILENT %s",
+					       "UID STORE %s +FLAGS.SILENT %s",
 					       set, flaglist);
 			if (response)
 				camel_imap_response_free (store, response);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]