mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 21:11:16 +00:00
parent
ba44566d6e
commit
762ca15dab
1 changed files with 8 additions and 1 deletions
|
@ -5,7 +5,13 @@ def get_actor(user):
|
||||||
return {
|
return {
|
||||||
'@context': [
|
'@context': [
|
||||||
'https://www.w3.org/ns/activitystreams',
|
'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,
|
'id': user.actor,
|
||||||
|
@ -26,5 +32,6 @@ def get_actor(user):
|
||||||
'sharedInbox': user.shared_inbox,
|
'sharedInbox': user.shared_inbox,
|
||||||
},
|
},
|
||||||
'fedireadsUser': True,
|
'fedireadsUser': True,
|
||||||
|
'manuallyApprovesFollowers': user.manually_approves_followers,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue