mu: use sha-1 for fallback msgid

We were using a hash based on the path, but it's better to have
something that's constant even if the path chnages.
This commit is contained in:
Dirk-Jan C. Binnema
2021-01-18 08:09:06 +02:00
parent af386824f2
commit 36684c9e97
2 changed files with 55 additions and 23 deletions

View File

@ -36,6 +36,7 @@ struct MuMsgFile {
size_t _size;
char *_path;
char *_maildir;
char *_sha1;
};