<table><tr><td style="">nowicki added a comment.
</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/D3181" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>I don't really see how this can be fixed in SpecialMailCollections as it has the concept of default collection for a type, which expands to the special collection registered by the default resource. This means that it will always return one inbox collection. The idea behind this change is to allow each resource to register its inbox collection and then have all the other machinery treat all of them equally.</p>

<p>The MailCommon::Kernel class also contains other folderIsXxx methods which are used to test other collection types. I haven't touched these as I don't want to run into possible side effects, but maybe it would make sense to modify them accordingly to maintain a consistent behaviour.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rMAILCOMMON PIM: Common Mail Support</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3181" rel="noreferrer">https://phabricator.kde.org/D3181</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>nowicki, KDE PIM<br /><strong>Cc: </strong>dvratil, kde-pim, spencerb, dvasin, winterz, vkrause, mlaurent, knauss<br /></div>