diff --git a/federation/hostmeta/generators.py b/federation/hostmeta/generators.py index 47d9a39..e0f0e4c 100644 --- a/federation/hostmeta/generators.py +++ b/federation/hostmeta/generators.py @@ -90,7 +90,7 @@ class DiasporaWebFinger(BaseLegacyWebFinger): rel="http://microformats.org/profile/hcard", type_="text/html", href="%s/hcard/users/%s" %( - host, username + host, guid ) )) self.xrd.links.append(Link( diff --git a/federation/tests/hostmeta/test_generators.py b/federation/tests/hostmeta/test_generators.py index bebecec..295ad7e 100644 --- a/federation/tests/hostmeta/test_generators.py +++ b/federation/tests/hostmeta/test_generators.py @@ -13,7 +13,7 @@ DIASPORA_WEBFINGER = """ acct:user@server.example https://server.example/people/0123456789abcdef - +