mirror of https://gitlab.com/bashrc2/epicyon
Make profile updates public
parent
46d43fcc06
commit
6e19e0d121
|
@ -4306,12 +4306,12 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.baseDir+'/cache/actors/'+ \
|
||||
actorJson['id'].replace('/','#')+'.json'
|
||||
saveJson(actorJson,actorCacheFilename)
|
||||
# send actor update to followers
|
||||
# send profile update to followers
|
||||
updateActorJson={
|
||||
'type': 'Update',
|
||||
'actor': actorJson['id'],
|
||||
'to': [actorJson['id']+'/followers'],
|
||||
'cc': [],
|
||||
'cc': ['https://www.w3.org/ns/activitystreams#Public'],
|
||||
'object': actorJson
|
||||
}
|
||||
self._postToOutbox(updateActorJson,__version__,nickname)
|
||||
|
|
Loading…
Reference in New Issue