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/'+ \
|
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)
|
||||||
|
|
Loading…
Reference in New Issue