Ignore more Lemmy things

This commit is contained in:
Andrew Godwin 2023-11-12 12:35:11 -07:00
parent 95089c0c61
commit 30e9b1f62d
1 changed files with 7 additions and 1 deletions

View File

@ -176,7 +176,13 @@ class Inbox(View):
# See if it's a type of message we know we want to ignore right now
# (e.g. Lemmy likes/dislikes, which we can't process anyway)
if document_type == "Announce" and document_subtype in ["Like", "Dislike"]:
if document_type == "Announce" and document_subtype in [
"Like",
"Dislike",
"Create",
"Undo",
"Update",
]:
return HttpResponse(status=202)
# authenticate HTTP signature first, if one is present and the actor