Skip to content

Commit

Permalink
Set matrix_id on _create_token
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-russell committed May 24, 2024
1 parent 959269d commit b74bb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fractal/cli/controllers/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def register(
register.clicz_aliases = ["register"]

async def _create_token(self):
async with MatrixClient(self.homeserver_url, access_token=self.access_token) as client: # type: ignore
async with MatrixClient(self.homeserver_url, matrix_id=self.matrix_id, access_token=self.access_token) as client: # type: ignore
return await client.generate_registration_token()

@cli_method
Expand Down

0 comments on commit b74bb2b

Please sign in to comment.