forked from mirrors/bookwyrm
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",
|
"rel": "self",
|
||||||
"type": "application/activity+json",
|
"type": "application/activity+json",
|
||||||
"href": user.remote_id,
|
"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