mirror of https://gitlab.com/bashrc2/epicyon
Add followers
parent
d8d6751c2f
commit
ef72b93984
|
@ -4543,13 +4543,13 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# remove the context from the actor json and put it
|
# remove the context from the actor json and put it
|
||||||
# at the start of the Upgrade activity
|
# at the start of the Upgrade activity
|
||||||
del actorJson['@context']
|
del actorJson['@context']
|
||||||
# NOTE: there is deliberately no cc here
|
|
||||||
updateActorJson = {
|
updateActorJson = {
|
||||||
'@context': pubContext,
|
'@context': pubContext,
|
||||||
'id': actorJson['id'] + '#updates/' + pubNumber,
|
'id': actorJson['id'] + '#updates/' + pubNumber,
|
||||||
'type': 'Update',
|
'type': 'Update',
|
||||||
'actor': actorJson['id'],
|
'actor': actorJson['id'],
|
||||||
'to': [pubStr],
|
'to': [pubStr],
|
||||||
|
'cc': [actorJson['id'] + '/followers'],
|
||||||
'object': actorJson
|
'object': actorJson
|
||||||
}
|
}
|
||||||
print('Sending actor update: ' + str(updateActorJson))
|
print('Sending actor update: ' + str(updateActorJson))
|
||||||
|
|
Loading…
Reference in New Issue