remove (i think) unneeded @context, add user summary and name

This commit is contained in:
jesopo 2019-09-11 10:42:59 +01:00
parent 7a860240ef
commit bbef6ee392

View file

@ -112,13 +112,11 @@ class Module(ModuleManager.BaseModule):
event["response"].content_type = ACTIVITY_TYPE
event["response"].write_json({
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1"
],
"@context": "https://www.w3.org/ns/activitystreams",
"id": self_id,
"type": "Person",
"preferredUsername": our_username,
"summary": "beep boop",
"preferredUsername": our_username, "name": our_username,
"inbox": inbox,
"outbox": outbox,
"publicKey": {