Update to rPGP 0.10.1

This commit is contained in:
link2xt
2023-03-27 10:13:54 +00:00
parent a4a53d5299
commit 3e65b6f3a6
6 changed files with 421 additions and 104 deletions

View File

@@ -1283,7 +1283,7 @@ impl MimeMessage {
if !key.details.users.iter().any(|user| {
user.id
.id()
.ends_with(&(String::from("<") + &peerstate.addr + ">"))
.ends_with((String::from("<") + &peerstate.addr + ">").as_bytes())
}) {
return Ok(false);
}