comparison sat/plugins/plugin_comp_ap_gateway/http_server.py @ 3882:1bd44367337d

component AP gateway: add `aliases` to webfinger data
author Goffi <goffi@goffi.org>
date Wed, 31 Aug 2022 17:07:03 +0200
parents 2e4a0f6050bd
children cea52400623d
comparison
equal deleted inserted replaced
3881:2e4a0f6050bd 3882:1bd44367337d
95 ).render(request) 95 ).render(request)
96 96
97 actor_url = self.apg.buildAPURL(TYPE_ACTOR, account) 97 actor_url = self.apg.buildAPURL(TYPE_ACTOR, account)
98 98
99 resp = { 99 resp = {
100 "aliases": [actor_url],
100 "subject": resource, 101 "subject": resource,
101 "links": [ 102 "links": [
102 { 103 {
103 "rel": "self", 104 "rel": "self",
104 "type": "application/activity+json", 105 "type": "application/activity+json",