Diffusion KMail 9a4ad9a599b9

Fix Move To Trash command for virtual collections

Authored by dvratil on Jul 29 2018, 5:09 PM.

Description

Fix Move To Trash command for virtual collections

Summary:
When current folder is a virtual collection, the Items in it may belong
to multiple different resources and as such have different Trash folders.
This change makes KMTrashMsgCommand aware of this fact and to handle
this case correctly by resolving parent collections of all selected
messages.

Test Plan:
Tested against the Unified Mailboxes Agent (currently loving in
dev/unified-mailboxes branch) which has virtual collections.

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D14465

Details

Committed
dvratilJul 30 2018, 8:06 PM
Reviewer
mlaurent
Differential Revision
D14465: Fix Move To Trash command for virtual collections
Parents
R206:10af2d3b4500: Add method name
Branches
Unknown
Tags
Unknown