mu-maildir: fix message_file_parts / empty flags

Remove the suffix part even with no flags.

Fixes: issue #2268
This commit is contained in:
Dirk-Jan C. Binnema
2022-05-31 23:41:50 +03:00
parent 022ae9c2e3
commit 26d64ec78f
2 changed files with 9 additions and 11 deletions

View File

@ -94,7 +94,7 @@ Result<Flags> maildir_flags_from_path(const std::string& pathname);
* @return the maildir or an Error
*/
Result<std::string> maildir_from_path(const std::string& path,
const std::string& root);
const std::string& root);
/**
* Move a message file to another maildir. If the target file already exists, it