[evolution-data-server] Bug #681995 - IMAPx does't set message size on message append
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #681995 - IMAPx does't set message size on message append
- Date: Fri, 31 Aug 2012 12:43:42 +0000 (UTC)
commit 7f3ee754cb0aa67e6b1308278ee8b1fa3764a2f2
Author: Milan Crha <mcrha redhat com>
Date: Fri Aug 31 14:43:19 2012 +0200
Bug #681995 - IMAPx does't set message size on message append
camel/camel-imapx-server.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index d2b1475..341f8ff 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -6626,8 +6626,11 @@ camel_imapx_server_append_message (CamelIMAPXServer *is,
path = camel_data_cache_get_filename (ifolder->cache, "new", uid);
info = camel_folder_summary_info_new_from_message ((CamelFolderSummary *) folder->summary, message, NULL);
info->uid = camel_pstring_strdup (uid);
- if (mi)
+ if (mi) {
((CamelMessageInfoBase *) info)->flags = ((CamelMessageInfoBase *) mi)->flags;
+ ((CamelMessageInfoBase *) info)->size = ((CamelMessageInfoBase *) mi)->size;
+ }
+
g_free (uid);
/* So, we actually just want to let the server loop that
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]