summaryrefslogtreecommitdiffstats
path: root/users/views/activitypub.py
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-21 21:18:13 -0700
committerAndrew Godwin2022-11-21 21:18:13 -0700
commit53d94529175dface366a935eea2c2bcc1eeab15c (patch)
tree169575fc31d532fdb31a924636fc535c55c60df4 /users/views/activitypub.py
parenta80e0f117a0271d428abd939e2896857a8da1b5c (diff)
downloadtakahe-53d94529175dface366a935eea2c2bcc1eeab15c.tar.gz
takahe-53d94529175dface366a935eea2c2bcc1eeab15c.tar.bz2
takahe-53d94529175dface366a935eea2c2bcc1eeab15c.zip
Outgoing mentions mostly work (exc. cc followers)
Diffstat (limited to 'users/views/activitypub.py')
-rw-r--r--users/views/activitypub.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/views/activitypub.py b/users/views/activitypub.py
index 0ba7d67..1ca80a1 100644
--- a/users/views/activitypub.py
+++ b/users/views/activitypub.py
@@ -128,13 +128,13 @@ class Webfinger(View):
{
"subject": f"acct:{identity.handle}",
"aliases": [
- str(identity.urls.view_nice),
+ identity.absolute_profile_uri(),
],
"links": [
{
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
- "href": str(identity.urls.view_nice),
+ "href": identity.absolute_profile_uri(),
},
{
"rel": "self",