<table><tr><td style="">medhefgo created this revision.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />medhefgo requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D14883">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Thread messages with same reference ID together</p>
<p>Messages from github or bugzilla usually use In-Reply-To and References headers<br />
with an ID that either doesn't actually exist or just isn't around in the<br />
folder. In case of bugzilla, no threading happens in that case because subject<br />
lines don't start with "Re:". github does do that, but oftentimes the subject<br />
based threading is imprecise (by design).</p>
<p>Therefore create a sorted-by-date cache of messages similar to the subject<br />
based cache and put any message we cannot perfectly thread to the very first<br />
message with the same message ID.<br />
What results is a flat but threaded messagelist similar to what thunderbird does.</p>
<p>FIXED-IN: 5.10.0<br />
BUG: 279115</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R94 PIM: Message Library</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14883">https://phabricator.kde.org/D14883</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>messagelist/src/core/model.cpp<br />
messagelist/src/core/model_p.h</div></div></div><br /><div><strong>To: </strong>medhefgo<br /><strong>Cc: </strong>kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>