From 57156455d907280806dd1bbb793030b9edc116fa Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 17 Dec 2020 22:59:11 +0000 Subject: [PATCH] Discoverable actor parameter --- person.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/person.py b/person.py index 216ae0965..9fcf099d2 100644 --- a/person.py +++ b/person.py @@ -190,7 +190,8 @@ def getDefaultPersonContext() -> str: 'identityKey': {'@id': 'toot:identityKey', '@type': '@id'}, 'fingerprintKey': {'@id': 'toot:fingerprintKey', '@type': '@id'}, 'messageFranking': 'toot:messageFranking', - 'publicKeyBase64': 'toot:publicKeyBase64' + 'publicKeyBase64': 'toot:publicKeyBase64', + 'discoverable': 'toot:discoverable' } @@ -279,6 +280,7 @@ def createPersonBase(baseDir: str, nickname: str, domain: str, port: int, }, 'inbox': inboxStr, 'manuallyApprovesFollowers': approveFollowers, + 'discoverable': False, 'name': personName, 'outbox': personId+'/outbox', 'preferredUsername': personName,