Test with simplified actor

main
Bob Mottram 2021-07-31 17:34:04 +01:00
parent ab61eb7d8d
commit 2f2523212c
1 changed files with 7 additions and 0 deletions

View File

@ -9905,6 +9905,13 @@ class PubServer(BaseHTTPRequestHandler):
'show profile posts')
else:
if self._fetchAuthenticated():
# TODO this is a test
del actorJson['hasOccupation']
del actorJson['shares']
del actorJson['orgSchema']
del actorJson['availability']
del actorJson['occupationName']
del actorJson['tts']
msgStr = json.dumps(actorJson, ensure_ascii=False)
msg = msgStr.encode('utf-8')
msglen = len(msg)