Ignore more Lemmy things

pull/654/head
Andrew Godwin 2023-11-12 12:35:11 -07:00
rodzic 95089c0c61
commit 30e9b1f62d
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -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