evolution-data-server r9037 - branches/gnome-2-22/camel/providers/imap



Author: mcrha
Date: Tue Jun 24 13:16:21 2008
New Revision: 9037
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9037&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:
   branches/gnome-2-22/camel/providers/imap/ChangeLog
   branches/gnome-2-22/camel/providers/imap/camel-imap-folder.c

Modified: branches/gnome-2-22/camel/providers/imap/camel-imap-folder.c
==============================================================================
--- branches/gnome-2-22/camel/providers/imap/camel-imap-folder.c	(original)
+++ branches/gnome-2-22/camel/providers/imap/camel-imap-folder.c	Tue Jun 24 13:16:21 2008
@@ -1062,7 +1062,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]