Revision 3d3eace...

Go back to digest for 6th April 2014

Optimization in KDE-PIM

Jan Kundrát committed changes in [trojita] /Imap/Model:

Improve detecting of attachments

This patch makes it "ignore" single-part multipart/* and any multipart/signed.
In any of these cases, the actual nested MIME part is checked.

Support for proper handling of multipart/alternative got added as well.

v2: Refactoring, and disregard any multipart altogether, i.e. just look at the
nested body parts. See inline comments for details.

Thanks to Thomas Lübking & Stephan Platz for their review.


REVIEW: 117360

File Changes

Modified 2 files
  • /Imap/Model
  •   src/MailboxTree.cpp
  •   src/MailboxTree.h
2 files changed in total