Skip to content
Commit 9a4ad9a5 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

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
parent 10af2d3b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment