diff options
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.c')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 88322ae245..e77d712529 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -2021,8 +2021,8 @@ imap_get_message (CamelFolder *folder, const char *uid, CamelException *ex) && !camel_imap_store_connected(store, ex)) goto fail; - /* If the message is small, fetch it in one piece. */ - if (mi->size < IMAP_SMALL_BODY_SIZE) { + /* If the message is small or only 1 part, fetch it in one piece. */ + if (mi->size < IMAP_SMALL_BODY_SIZE || !mi->content->childs) { msg = get_message_simple (imap_folder, uid, NULL, ex); } else { if (content_info_incomplete (mi->content)) { |