Fix matrix_client mypy error

This commit is contained in:
miruka 2020-07-10 16:54:29 -04:00
parent 1611b8ea16
commit 63b80168a6

View File

@ -260,10 +260,10 @@ class MatrixClient(nio.AsyncClient):
)
# TODO: set presence on login
self._presence = "online"
account.presence = Presence.State.online
account.connecting = True
self.start_task = asyncio.ensure_future(self._start())
self._presence: str = "online"
account.presence = Presence.State.online
account.connecting = True
self.start_task = asyncio.ensure_future(self._start())
async def resume(