summaryrefslogtreecommitdiff
path: root/camel
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-08-31 14:43:19 +0200
committerMilan Crha <mcrha@redhat.com>2012-08-31 14:43:19 +0200
commit7f3ee754cb0aa67e6b1308278ee8b1fa3764a2f2 (patch)
treed356f3fe51c83e649bca93b12e0c91aa1abf962a /camel
parent52c81e6e174283899188a5817478c3ef629b8a6c (diff)
downloadevolution-data-server-7f3ee754cb0aa67e6b1308278ee8b1fa3764a2f2.tar.gz
Bug #681995 - IMAPx does't set message size on message append
Diffstat (limited to 'camel')
-rw-r--r--camel/camel-imapx-server.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index d2b1475b6..341f8ff0b 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