From d75074239d5615c7c1c8e53bd67d41ddfe29ac2f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 17 Jun 2023 10:37:48 +0100 Subject: [PATCH] Extra fields for groups --- person.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/person.py b/person.py index 9395565c2..5d9b00d8c 100644 --- a/person.py +++ b/person.py @@ -481,6 +481,11 @@ def _create_person_base(base_dir: str, nickname: str, domain: str, port: int, 'url': person_url } + # extra fields used only by groups + if group_account: + new_person['postingRestrictedToMods'] = False + new_person['moderators'] = person_id + '/moderators' + if nickname == 'inbox': # fields not needed by the shared inbox del new_person['outbox']