mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
client: Remove unused asyncio events.
This commit is contained in:
parent
6988a1de95
commit
aa1143328f
@ -2,7 +2,6 @@ import asyncio
|
|||||||
from pprint import pformat
|
from pprint import pformat
|
||||||
from typing import Any, Dict, Optional
|
from typing import Any, Dict, Optional
|
||||||
|
|
||||||
from aiohttp.client_exceptions import ClientConnectionError
|
|
||||||
from nio import (AsyncClient, ClientConfig, EncryptionError,
|
from nio import (AsyncClient, ClientConfig, EncryptionError,
|
||||||
GroupEncryptionError, KeysQueryResponse, MegolmEvent,
|
GroupEncryptionError, KeysQueryResponse, MegolmEvent,
|
||||||
RoomEncryptedEvent, SyncResponse,
|
RoomEncryptedEvent, SyncResponse,
|
||||||
@ -34,8 +33,6 @@ class PanClient(AsyncClient):
|
|||||||
|
|
||||||
self.task = None
|
self.task = None
|
||||||
self.queue = queue
|
self.queue = queue
|
||||||
self.loop_stopped = asyncio.Event()
|
|
||||||
self.synced = asyncio.Event()
|
|
||||||
|
|
||||||
self.add_to_device_callback(
|
self.add_to_device_callback(
|
||||||
self.key_verification_cb,
|
self.key_verification_cb,
|
||||||
|
Loading…
Reference in New Issue
Block a user