Allow Signature to be missing if kind is Delete, return early without additional processing

This commit is contained in:
asonix
2022-12-19 11:39:30 -06:00
parent 886c7d0ac6
commit b56bddccb4
7 changed files with 71 additions and 87 deletions
+2 -2
View File
@@ -73,8 +73,8 @@ impl MyVerify {
Ok(res) => res.actor_id().ok_or(ErrorKind::MissingId),
Err(e) => {
if e.is_gone() {
tracing::warn!("Actor gone: {}, trusting it for now.", public_key_id);
return Ok(true);
tracing::warn!("Actor gone: {}", public_key_id);
return Ok(false);
} else {
return Err(e);
}