Accept 'Accept' activities in the inbox

This commit is contained in:
Mouse Reeve
2020-02-14 20:04:22 -08:00
parent 7123650198
commit 4f60d27c12
3 changed files with 6 additions and 2 deletions

View File

@ -99,6 +99,10 @@ def shared_inbox(request):
if activity['type'] == 'Create':
return handle_incoming_create(activity)
if activity['type'] == 'Accept':
# aww yay, friendship
return HttpResponse()
return HttpResponseNotFound()