Return 404 when an activity is sent to a deactivated user's /inbox

Also return 404 when the user who sent the activity is believed to be
deactivated. It was already an error, now it just returns a better
reason than "Invalid request". Also send proper errors when either
user is not known at all.
This commit is contained in:
Ekaterina Vaartis 2025-06-17 21:12:20 +03:00
commit ee37b2d8c6
3 changed files with 71 additions and 19 deletions

View file

@ -0,0 +1 @@
Return 404 with a better error message instead of 400 when receiving an activity for a deactivated user