Fix/update Backend._do_login() docstring
This commit is contained in:
parent
3ab2864f22
commit
e611f89fe3
|
@ -204,7 +204,7 @@ class Backend:
|
||||||
|
|
||||||
|
|
||||||
async def _do_login(self, client: MatrixClient, **login_kwargs) -> str:
|
async def _do_login(self, client: MatrixClient, **login_kwargs) -> str:
|
||||||
"""Create and register the `MatrixClient`, login and return user ID."""
|
"""Login on a client. If successful, register it and return user ID."""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await client.login(**login_kwargs)
|
await client.login(**login_kwargs)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user