News account is an application actor

merge-requests/8/head
Bob Mottram 2020-10-27 16:00:57 +00:00
parent 2b2da1c122
commit e4b44edc05
1 changed files with 9 additions and 0 deletions

View File

@ -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