[evolution-data-server] Set server_flags after APPENDUID; don't send them to the server again.



commit 7a6c7dca2321a1fcb6d3962cca77a5b9b9e08c65
Author: David Woodhouse <David Woodhouse intel com>
Date:   Tue Jun 29 17:23:57 2010 +0100

    Set server_flags after APPENDUID; don't send them to the server again.
    
    This is just silly....
    
    Starting command (active=1, literal) A00452 APPEND outgoing (\SEEN) {551+}
    Starting command (active=1,) A00454 SELECT outgoing
    Starting command (active=1,) A00453 UID STORE 14443 +FLAGS.SILENT (\SEEN)

 camel/providers/imapx/camel-imapx-server.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index e04a20a..d35d7c9 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -3140,7 +3140,10 @@ imapx_command_append_message_done (CamelIMAPXServer *is, CamelIMAPXCommand *ic)
 
 				/* should we update the message count ? */
 				camel_folder_summary_add (job->folder->summary, mi);
-
+				imapx_set_message_info_flags_for_new_message (mi, 
+									      ((CamelMessageInfoBase *)job->u.append_message.info)->flags,
+									      ((CamelMessageInfoBase *)job->u.append_message.info)->user_flags,
+									      job->folder);
 				changes = camel_folder_change_info_new ();
 				camel_folder_change_info_add_uid (changes, mi->uid);
 				camel_folder_changed (job->folder, changes);



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