mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 05:06:32 +00:00
add ostatus subscribe to webfinger links
This commit is contained in:
parent
ad6c860951
commit
9d52e3cf27
1 changed files with 4 additions and 0 deletions
|
@ -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}}"
|
||||
}
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue