mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-24 16:20:59 +00:00
Ignore more Lemmy things
This commit is contained in:
parent
95089c0c61
commit
30e9b1f62d
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue