Commit 10be028c authored by Yábir García's avatar Yábir García

Fix webfinger url

parent fff91b84
......@@ -4,7 +4,7 @@ from models.user import UserProfile
class Webfinger:
def __init__(self, user):
def __init__(self, user: UserProfile) -> None:
self.user = user
self.aliases = []
......@@ -19,7 +19,7 @@ class Webfinger:
def generate_aliases(self):
username = self.user.username
url = self.user.uris.id
url = self.user.uris.client
self.aliases = [
'acct:{}@{}'.format(username, DOMAIN),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment