forked from indymedia/epicyon
Set dicoverable actor parameter if it doesn't exist
parent
57156455d9
commit
576a72d102
|
@ -3767,6 +3767,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if os.path.isfile(actorFilename):
|
||||
actorJson = loadJson(actorFilename)
|
||||
if actorJson:
|
||||
if not actorJson.get('discoverable'):
|
||||
# discoverable in profile directory
|
||||
# which isn't implemented in Epicyon
|
||||
actorJson['discoverable'] = False
|
||||
actorChanged = True
|
||||
# update the avatar/image url file extension
|
||||
uploads = profileMediaTypesUploaded.items()
|
||||
for mType, lastPart in uploads:
|
||||
|
|
Loading…
Reference in New Issue