mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-20 20:31:28 -05:00
pantalaimon: Isort the tree.
This commit is contained in:
parent
a164924b28
commit
5b58294a95
@ -24,9 +24,9 @@ from jsonschema import Draft4Validator, FormatChecker, validators
|
||||
from nio import (AsyncClient, ClientConfig, EncryptionError, KeysQueryResponse,
|
||||
KeyVerificationEvent, KeyVerificationKey, KeyVerificationMac,
|
||||
KeyVerificationStart, LocalProtocolError, MegolmEvent,
|
||||
RoomEncryptedEvent, SyncResponse,
|
||||
RoomContextError, RoomMessageText, RoomMessageMedia,
|
||||
RoomEncryptedMedia, RoomTopicEvent, RoomNameEvent)
|
||||
RoomContextError, RoomEncryptedEvent, RoomEncryptedMedia,
|
||||
RoomMessageMedia, RoomMessageText, RoomNameEvent,
|
||||
RoomTopicEvent, SyncResponse)
|
||||
from nio.crypto import Sas
|
||||
from nio.store import SqliteStore
|
||||
|
||||
@ -98,6 +98,7 @@ def validate_json(instance, schema):
|
||||
class UnknownRoomError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class InvalidOrderByError(Exception):
|
||||
pass
|
||||
|
||||
|
@ -28,7 +28,7 @@ from multidict import CIMultiDict
|
||||
from nio import (Api, EncryptionError, LoginResponse, OlmTrustError,
|
||||
SendRetryError)
|
||||
|
||||
from pantalaimon.client import PanClient, UnknownRoomError, InvalidOrderByError
|
||||
from pantalaimon.client import InvalidOrderByError, PanClient, UnknownRoomError
|
||||
from pantalaimon.log import logger
|
||||
from pantalaimon.store import ClientInfo, PanStore
|
||||
from pantalaimon.thread_messages import (AcceptSasMessage, CancelSasMessage,
|
||||
|
@ -15,8 +15,8 @@
|
||||
import datetime
|
||||
|
||||
import tantivy
|
||||
from nio import (RoomMessageText, RoomNameEvent, RoomTopicEvent,
|
||||
RoomMessageMedia, RoomEncryptedMedia)
|
||||
from nio import (RoomEncryptedMedia, RoomMessageMedia, RoomMessageText,
|
||||
RoomNameEvent, RoomTopicEvent)
|
||||
|
||||
|
||||
def sanitize_room_id(room_id):
|
||||
|
Loading…
Reference in New Issue
Block a user