From e4b44edc0525c660afc2110dcb94d31df2eae2c1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 27 Oct 2020 16:00:57 +0000 Subject: [PATCH] News account is an application actor --- person.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/person.py b/person.py index f4539e180..76f3d31e5 100644 --- a/person.py +++ b/person.py @@ -233,6 +233,15 @@ def createPersonBase(baseDir: str, nickname: str, domain: str, port: int, personName = originalDomain approveFollowers = True personType = 'Application' + elif nickname == 'news': + # shared inbox + inboxStr = httpPrefix + '://' + domain + '/actor/news' + personId = httpPrefix + '://' + domain + '/actor' + personUrl = httpPrefix + '://' + domain + \ + '/about/more?news_actor=true' + personName = originalDomain + approveFollowers = True + personType = 'Application' # NOTE: these image files don't need to have # cryptographically secure names