Commit 49852b34 authored by Tobias Koenig's avatar Tobias Koenig
Browse files

Write back changed item payload to Akonadi storage

This fixes the 'pipe through' filter action in KMail.

BUG: 260638
parent d25db7a5
......@@ -652,6 +652,8 @@ FilterAction::ReturnCode FilterActionWithCommand::genericProcess( const Akonadi:
KMime::Headers::Generic *header = new KMime::Headers::Generic( "X-UID", aMsg.get(), uid, "utf-8" );
aMsg->setHeader( header );
new Akonadi::ItemModifyJob( item, FilterIf->filterManager() ); //TODO: check for errors
} else {
qDeleteAll( atmList );
atmList.clear();
......
Supports Markdown
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