[Kde-pim] [PATCH] fix threading in KMail
Tobias König
tokoe at kde.org
Sat Aug 7 10:32:49 BST 2010
Hej,
the brave users of KMail2 will already have noticed that threading is broken
in KMail in 4.5 branch and trunk. The reason is that the findMessageParent
logic in messagelist cannot determine the right parent via the In-Reply-To and
References field and therefor falls back to subject comparison.
The In-Reply-To and References comparison fails because the used Message-Id
fields are in the form of '<someuniqueid>' but the used In-Reply-To and
References fields look like 'someuniqueid', so they are missing the angle
brackets. The attached patch fixes this inside the messagelist code, however I
guess the real bug is in libkmime, which (for some unknown reason) suddenly
strips the angle brackets. Since threading (based on messagelist code) works
fine in KDE 4.4 this is a regression in KMime IMHO.
Any ideas?
Ciao,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: messagelist.patch
Type: text/x-patch
Size: 912 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20100807/cb9d7173/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20100807/cb9d7173/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list