ActivityPub: Add new 'capabilities' to user.

This commit is contained in:
lain 2020-07-06 11:38:40 +02:00
commit 208baf157a
5 changed files with 19 additions and 9 deletions

View file

@ -26,7 +26,9 @@
"summary": "\u003cp\u003e\u003c/p\u003e",
"url": "http://mastodon.example.org/@admin",
"manuallyApprovesFollowers": false,
"acceptsChatMessages": true,
"capabilities": {
"acceptsChatMessages": true
},
"publicKey": {
"id": "http://mastodon.example.org/users/admin#main-key",
"owner": "http://mastodon.example.org/users/admin",