Make it possible to mark a folder explicitly as sender folder

Authored by mwolff on Aug 31 2017, 12:56 PM.



CollectionStorageModel::isOutBoundFolder so far only checked the
MessageFolderAttribute to decide whether a folder was explicitly
marked as an outbound folder. But that meant that one could not
explicitly mark it as an inbound folder. This patch changes that
such that an explicit setting is properly honored. It is required
for people like me, who want to keep all mails in one folder. I
have my identity's sent folder (identity.fcc()) aliased to my inbox
folder. Without this patch, the sender/receiver column would show
receivers in the inbox, which is extremely confusing for me. With
this patch, I now properly see senders in my inbox again.

Diff Detail

R206 KMail
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
mwolff created this revision.Aug 31 2017, 12:56 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptAug 31 2017, 12:56 PM
Restricted Application added a subscriber: KDE PIM. · View Herald Transcript
mlaurent accepted this revision.Aug 31 2017, 1:02 PM

Seems logical.

This revision is now accepted and ready to land.Aug 31 2017, 1:02 PM
This revision was automatically updated to reflect the committed changes.