1
0
Fork 0

small fixes for replies

This commit is contained in:
Mouse Reeve 2020-02-17 21:42:09 -08:00
parent 9194b3c50d
commit 0d4f6851b9
2 changed files with 2 additions and 3 deletions

View file

@ -155,13 +155,12 @@ def get_replies(request, username, status_id):
'type': 'CollectionPage',
'next': '%s?only_other_accounts=true&page=true' % path_id,
'partOf': path_id,
'items': [replies.activity]
'items': [activitypub.get_status(replies)]
}
}
return JsonResponse(replies_activity)
@csrf_exempt
def get_followers(request, username):
''' return a list of followers for an actor '''