Skip to content

Fix deletion of Google events, todos, etc

Claudio Cambra requested to merge work/fix-google-deletion into master

In GoogleResource::itemsRemoved we check if the acquired handler canPerformTask. This in the background checks of the Akonadi item contains the specified payload of the type the handler is expected to be able to perform its task on. However, this check fails as removed items do not have valid payloads and instead just carry the needed metadata to perform a deletion.

Hence let's just remove the canPerformTask check which fixes the issue

Signed-off-by: Claudio Cambra claudio.cambra@kde.org

Merge request reports

Loading