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 JsonResponse({
'subject': 'acct:%s' % (user.username),
'subject': 'acct:@%s' % (user.username),
'links': [
{
'rel': 'self',