Add nomadicLocations to actor

main
Bob Mottram 2020-01-19 20:19:56 +00:00
parent c2187aa007
commit 5c2905d57d
2 changed files with 11 additions and 4 deletions

View File

@ -210,7 +210,14 @@ def createPersonBase(baseDir: str,nickname: str,domain: str,port: int, \
},
'tag': [],
'type': personType,
'url': personUrl
'url': personUrl,
'nomadicLocations': [{
'id': personId,
'type': 'nomadicLocation',
'locationAddress':'acct:'+nickname+'@'+domain,
'locationPrimary':True,
'locationDeleted':False
}]
}
if nickname=='inbox':