Fix matrix_client mypy error
This commit is contained in:
parent
1611b8ea16
commit
63b80168a6
|
@ -260,7 +260,7 @@ class MatrixClient(nio.AsyncClient):
|
||||||
)
|
)
|
||||||
|
|
||||||
# TODO: set presence on login
|
# TODO: set presence on login
|
||||||
self._presence = "online"
|
self._presence: str = "online"
|
||||||
account.presence = Presence.State.online
|
account.presence = Presence.State.online
|
||||||
account.connecting = True
|
account.connecting = True
|
||||||
self.start_task = asyncio.ensure_future(self._start())
|
self.start_task = asyncio.ensure_future(self._start())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user