message-file: filter out non-file flags

Only take flags from file names that are actually file-flags, not random other
things
This commit is contained in:
Dirk-Jan C. Binnema
2022-06-10 00:45:08 +03:00
parent 9bf580de3d
commit 1ec03ce07c
2 changed files with 6 additions and 4 deletions

View File

@ -169,7 +169,7 @@ test_mu_msg_flags(void)
(Flags::Flagged | Flags::Seen |
Flags::HasAttachment)},
{MU_TESTMAILDIR4 "/special!2,Sabc",
(Flags::Seen|Flags::HasAttachment)}
(Flags::Seen)}
}};
for (auto&& test: tests) {