Ignore more Lemmy things
This commit is contained in:
parent
95089c0c61
commit
30e9b1f62d
|
@ -176,7 +176,13 @@ class Inbox(View):
|
||||||
|
|
||||||
# See if it's a type of message we know we want to ignore right now
|
# 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)
|
# (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)
|
return HttpResponse(status=202)
|
||||||
|
|
||||||
# authenticate HTTP signature first, if one is present and the actor
|
# authenticate HTTP signature first, if one is present and the actor
|
||||||
|
|
Loading…
Reference in New Issue