author | alwin <alwin> | 2004-01-03 13:10:06 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-03 13:10:06 (UTC) |
commit | 45ace73de06a645d5876ad40a6d911f7ea24c69b (patch) (side-by-side diff) | |
tree | 53a33b99444d0a7210c9c1b55d5a1fe3a7465b7c | |
parent | 622bddce6d0cd41c765225f4743b23bf1667f3db (diff) | |
download | opie-45ace73de06a645d5876ad40a6d911f7ea24c69b.zip opie-45ace73de06a645d5876ad40a6d911f7ea24c69b.tar.gz opie-45ace73de06a645d5876ad40a6d911f7ea24c69b.tar.bz2 |
multipart subtype will stored lower like in singleparts
-rw-r--r-- | noncore/net/mail/imapwrapper.cpp | 3 | ||||
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/mail/imapwrapper.cpp b/noncore/net/mail/imapwrapper.cpp index ae196bb..b437df0 100644 --- a/noncore/net/mail/imapwrapper.cpp +++ b/noncore/net/mail/imapwrapper.cpp @@ -648,7 +648,8 @@ void IMAPwrapper::fillSingleMsgPart(RecPart&target_part,mailimap_body_type_msg*w void IMAPwrapper::fillMultiPart(RecPart&target_part,mailimap_body_type_mpart*which) { if (!which) return; - target_part.setSubtype(which->bd_media_subtype); + QString sub = which->bd_media_subtype; + target_part.setSubtype(sub.lower()); if (which->bd_ext_mpart && which->bd_ext_mpart->bd_parameter && which->bd_ext_mpart->bd_parameter->pa_list) { clistcell*cur = 0; mailimap_single_body_fld_param*param=0; diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.cpp b/noncore/net/mail/libmailwrapper/imapwrapper.cpp index ae196bb..b437df0 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/imapwrapper.cpp @@ -648,7 +648,8 @@ void IMAPwrapper::fillSingleMsgPart(RecPart&target_part,mailimap_body_type_msg*w void IMAPwrapper::fillMultiPart(RecPart&target_part,mailimap_body_type_mpart*which) { if (!which) return; - target_part.setSubtype(which->bd_media_subtype); + QString sub = which->bd_media_subtype; + target_part.setSubtype(sub.lower()); if (which->bd_ext_mpart && which->bd_ext_mpart->bd_parameter && which->bd_ext_mpart->bd_parameter->pa_list) { clistcell*cur = 0; mailimap_single_body_fld_param*param=0; |