When checking whether a message has attachments, the multipart/signed TreeItemPart should be skipped and instead its children shall be processed.
Git commit 3d3eaced989b8d77a21113b4806fecb0faabb302 by Jan Kundrát. Committed on 03/04/2014 at 18:24. Pushed by jkt into branch 'master'. 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 M +37 -29 src/Imap/Model/MailboxTree.cpp M +1 -0 src/Imap/Model/MailboxTree.h http://commits.kde.org/trojita/3d3eaced989b8d77a21113b4806fecb0faabb302