add ostatus subscribe to webfinger links

This commit is contained in:
Hugh Rundle 2021-11-27 18:32:50 +11:00
parent ad6c860951
commit 9d52e3cf27
No known key found for this signature in database
GPG key ID: CD23D6039184286B

View file

@ -30,6 +30,10 @@ def webfinger(request):
"rel": "self",
"type": "application/activity+json",
"href": user.remote_id,
},
{
"rel": "http://ostatus.org/schema/1.0/subscribe",
"template": f"https://{DOMAIN}/ostatus_subscribe?acct={{uri}}"
}
],
}