Make profile updates public

main
Bob Mottram 2020-01-20 12:40:59 +00:00
parent 46d43fcc06
commit 6e19e0d121
1 changed files with 2 additions and 2 deletions

View File

@ -4306,12 +4306,12 @@ class PubServer(BaseHTTPRequestHandler):
self.server.baseDir+'/cache/actors/'+ \ self.server.baseDir+'/cache/actors/'+ \
actorJson['id'].replace('/','#')+'.json' actorJson['id'].replace('/','#')+'.json'
saveJson(actorJson,actorCacheFilename) saveJson(actorJson,actorCacheFilename)
# send actor update to followers # send profile update to followers
updateActorJson={ updateActorJson={
'type': 'Update', 'type': 'Update',
'actor': actorJson['id'], 'actor': actorJson['id'],
'to': [actorJson['id']+'/followers'], 'to': [actorJson['id']+'/followers'],
'cc': [], 'cc': ['https://www.w3.org/ns/activitystreams#Public'],
'object': actorJson 'object': actorJson
} }
self._postToOutbox(updateActorJson,__version__,nickname) self._postToOutbox(updateActorJson,__version__,nickname)