This commit is contained in:
Felix Ableitner 2024-09-25 13:23:15 +02:00
parent 99cdf742d4
commit 7390d75cdb
2 changed files with 5 additions and 2 deletions

View File

@ -48,7 +48,10 @@ pub async fn shared_inbox(
match res {
// Ignore NotFound error, usually means that the sending actor was deleted and sent a delete
// activity: https://github.com/LemmyNet/lemmy/issues/2240
Ok(Err(LemmyError {error_type: LemmyErrorType::NotFound, ..})) => Ok(HttpResponse::Ok().finish()),
Ok(Err(LemmyError {
error_type: LemmyErrorType::NotFound,
..
})) => Ok(HttpResponse::Ok().finish()),
// Top-level error means we hit the send timeout
Err(_) => Err(LemmyErrorType::InboxTimeout.into()),
Ok(other) => other,

View File

@ -47,7 +47,7 @@ full = [
"dep:uuid",
"dep:itertools",
"dep:markdown-it",
"dep:activitypub_federation"
"dep:activitypub_federation",
]
[dependencies]