Additional params in outgoing actor update

main
Bob Mottram 2021-09-30 15:32:39 +01:00
parent c0c4b77481
commit b414eec285
1 changed files with 3 additions and 0 deletions

View File

@ -270,6 +270,9 @@ def getActorUpdateJson(actorJson: {}) -> {}:
'object': {
'id': actorJson['id'],
'type': actorJson['type'],
'icon': actorJson['icon'],
'image': actorJson['image'],
'attachment': actorJson['attachment'],
'following': actorJson['id'] + '/following',
'followers': actorJson['id'] + '/followers',
'inbox': actorJson['id'] + '/inbox',