diff --git a/daemon.py b/daemon.py index 7d9b06542..882004232 100644 --- a/daemon.py +++ b/daemon.py @@ -2258,6 +2258,15 @@ class PubServer(BaseHTTPRequestHandler): if actorChanged: with open(actorFilename, 'w') as fp: commentjson.dump(actorJson, fp, indent=4, sort_keys=False) + # send actor update to followers + updateActorJson={ + 'type': 'Update', + 'actor': actorJson['id'], + 'to': [actorJson['id']+'/followers'], + 'object': actorJson + } + self.postToNickname=nickname + self._postToOutbox(updateActorJson) self._redirect_headers(actorStr,cookie) self.server.POSTbusy=False return