mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-08 14:18:08 -05:00
client: Use the AsyncClientConfig.
This commit is contained in:
parent
1053bafafd
commit
2853e789d3
@ -23,7 +23,7 @@ from jsonschema import Draft4Validator, FormatChecker, validators
|
||||
from playhouse.sqliteq import SqliteQueueDatabase
|
||||
from nio import (
|
||||
AsyncClient,
|
||||
ClientConfig,
|
||||
AsyncClientConfig,
|
||||
EncryptionError,
|
||||
Event,
|
||||
ToDeviceEvent,
|
||||
@ -157,7 +157,7 @@ class PanClient(AsyncClient):
|
||||
proxy=None,
|
||||
store_class=None,
|
||||
):
|
||||
config = config or ClientConfig(
|
||||
config = config or AsyncClientConfig(
|
||||
store=store_class or SqliteStore, store_name="pan.db"
|
||||
)
|
||||
super().__init__(homeserver, user_id, device_id, store_path, config, ssl, proxy)
|
||||
|
Loading…
Reference in New Issue
Block a user