message: add cache_path per message

Generate a message-specific cache path when needed.
Update tests, too.
This commit is contained in:
Dirk-Jan C. Binnema
2022-05-05 01:24:18 +03:00
parent 85fed37870
commit c0ae7e6860
4 changed files with 62 additions and 34 deletions

View File

@ -22,6 +22,7 @@
#include "glibconfig.h"
#include "mu-mime-object.hh"
#include "utils/mu-utils.hh"
#include <string>
using namespace Mu;
@ -71,8 +72,7 @@ MessagePart::cooked_filename() const noexcept
.value_or("no-subject") + ".eml";
}
return Nothing;
return Nothing;
}
Option<std::string>