mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
parent
ba44566d6e
commit
762ca15dab
1 changed files with 8 additions and 1 deletions
|
@ -5,7 +5,13 @@ def get_actor(user):
|
|||
return {
|
||||
'@context': [
|
||||
'https://www.w3.org/ns/activitystreams',
|
||||
'https://w3id.org/security/v1'
|
||||
'https://w3id.org/security/v1',
|
||||
{
|
||||
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
||||
"schema": "http://schema.org#",
|
||||
"PropertyValue": "schema:PropertyValue",
|
||||
"value": "schema:value",
|
||||
},
|
||||
],
|
||||
|
||||
'id': user.actor,
|
||||
|
@ -26,5 +32,6 @@ def get_actor(user):
|
|||
'sharedInbox': user.shared_inbox,
|
||||
},
|
||||
'fedireadsUser': True,
|
||||
'manuallyApprovesFollowers': user.manually_approves_followers,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue