From b41e4ec6b0d4e33088ce49c003552853d7f00cdb Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Fri, 2 Aug 2013 09:40:56 +0200 Subject: [PATCH] Fix archive message --- messageactions.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/messageactions.cpp b/messageactions.cpp index 635f7b611..11d54c5aa 100644 --- a/messageactions.cpp +++ b/messageactions.cpp @@ -609,6 +609,7 @@ void MessageActions::editCurrentMessage() KMCommand *command = 0; if ( mCurrentItem.isValid() ) { Akonadi::Collection col = mCurrentItem.parentCollection(); + qDebug()<<" mCurrentItem.parentCollection()"< ids; - ids << mCurrentItem.id(); - folderArchiveInterface.archiveItems(ids, mCurrentItem.parentCollection().resource()); + folderArchiveInterface.archiveItem(mCurrentItem.id()); } else { qDebug()<< "Archive Folder Agent was not registered."; }