From ef72b93984711758b6941404158b9e88196ac087 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 18 Dec 2020 11:11:52 +0000 Subject: [PATCH] Add followers --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 321a313c..6c76b5a2 100644 --- a/daemon.py +++ b/daemon.py @@ -4543,13 +4543,13 @@ class PubServer(BaseHTTPRequestHandler): # remove the context from the actor json and put it # at the start of the Upgrade activity del actorJson['@context'] - # NOTE: there is deliberately no cc here updateActorJson = { '@context': pubContext, 'id': actorJson['id'] + '#updates/' + pubNumber, 'type': 'Update', 'actor': actorJson['id'], 'to': [pubStr], + 'cc': [actorJson['id'] + '/followers'], 'object': actorJson } print('Sending actor update: ' + str(updateActorJson))