mirror of
https://github.com/maubot/maubot
synced 2025-09-02 00:00:39 +00:00
Fix previous commit
This commit is contained in:
parent
c9c8ac08a1
commit
811b5877b0
2 changed files with 22 additions and 12 deletions
|
@ -46,8 +46,8 @@ class Client:
|
|||
client: MaubotMatrixClient
|
||||
started: bool
|
||||
|
||||
remote_displayname: str
|
||||
remote_avatar_url: ContentURI
|
||||
remote_displayname: Optional[str]
|
||||
remote_avatar_url: Optional[ContentURI]
|
||||
|
||||
def __init__(self, db_instance: DBClient) -> None:
|
||||
self.db_instance = db_instance
|
||||
|
@ -56,6 +56,8 @@ class Client:
|
|||
self.references = set()
|
||||
self.started = False
|
||||
self.sync_ok = True
|
||||
self.remote_displayname = None
|
||||
self.remote_avatar_url = None
|
||||
self.client = MaubotMatrixClient(mxid=self.id, base_url=self.homeserver,
|
||||
token=self.access_token, client_session=self.http_client,
|
||||
log=self.log, loop=self.loop, store=self.db_instance)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue