[evolution-data-server/gnome-2-30] Set server_flags after APPENDUID; don't send them to the server again.
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-30] Set server_flags after APPENDUID; don't send them to the server again.
- Date: Sat, 31 Jul 2010 15:28:00 +0000 (UTC)
commit a374d21b42735cc1e5d3f005819adf90d19fcd9a
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)
(cherry picked from commit 7a6c7dca2321a1fcb6d3962cca77a5b9b9e08c65)
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 7a5c429..44e5598 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -3123,7 +3123,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_object_trigger_event (CAMEL_OBJECT (job->folder), "folder_changed",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]