From 31bed2bdc54ce4b976b4233b07969d5621f528e1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 13 May 2021 12:19:31 +0100 Subject: [PATCH] Tidying --- daemon.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/daemon.py b/daemon.py index 7f820f302..a91879a98 100644 --- a/daemon.py +++ b/daemon.py @@ -4154,22 +4154,6 @@ class PubServer(BaseHTTPRequestHandler): # which isn't implemented in Epicyon actorJson['discoverable'] = True actorChanged = True - if not actorJson['@context'][2].get('orgSchema'): - actorJson['@context'][2]['orgSchema'] = \ - 'toot:orgSchema' - actorChanged = True - if not actorJson['@context'][2].get('skills'): - actorJson['@context'][2]['skills'] = 'toot:skills' - actorChanged = True - if not actorJson['@context'][2].get('shares'): - actorJson['@context'][2]['shares'] = 'toot:shares' - actorChanged = True - if not actorJson['@context'][2].get('roles'): - actorJson['@context'][2]['roles'] = 'toot:roles' - actorChanged = True - if not actorJson['@context'][2].get('availability'): - actorJson['@context'][2]['availaibility'] = \ - 'toot:availability' if actorJson.get('capabilityAcquisitionEndpoint'): del actorJson['capabilityAcquisitionEndpoint'] actorChanged = True