diff --git a/daemon.py b/daemon.py index 4da16e1da..4eb0960ba 100644 --- a/daemon.py +++ b/daemon.py @@ -4718,7 +4718,14 @@ class PubServer(BaseHTTPRequestHandler): 'https://w3id.org/security/v1', getDefaultPersonContext() ] - actorJson['discoverable'] = True + if actorJson.get('nomadicLocations'): + del actorJson['nomadicLocations'] + if not actorJson.get('featured'): + actorJson['featured'] = \ + actorJson['id'] + '/collections/featured' + if not actorJson.get('featuredTags'): + actorJson['featuredTags'] = \ + actorJson['id'] + '/collections/tags' randomizeActorImages(actorJson) saveJson(actorJson, actorFilename) webfingerUpdate(baseDir,