format webfinger "subject"

This commit is contained in:
Mouse Reeve 2020-11-01 10:53:47 -08:00
parent 203a0a25eb
commit b941bb7ad5

View file

@ -22,7 +22,7 @@ def webfinger(request):
return HttpResponseNotFound('No account found') return HttpResponseNotFound('No account found')
return JsonResponse({ return JsonResponse({
'subject': 'acct:%s' % (user.username), 'subject': 'acct:@%s' % (user.username),
'links': [ 'links': [
{ {
'rel': 'self', 'rel': 'self',