Update mautrix-python to fix bugs

This commit is contained in:
Tulir Asokan 2020-08-23 14:25:29 +03:00
parent c614f8c8ca
commit 9d3a4b16bd
3 changed files with 7 additions and 2 deletions

View file

@ -304,7 +304,7 @@ class Client:
mxid = await new_client.whoami()
if mxid != self.id:
raise ValueError(f"MXID mismatch: {mxid}")
new_client.sync_store = self.db_instance
new_client.sync_store = SyncStoreProxy(self.db_instance)
self.stop_sync()
self.client = new_client
self.db_instance.homeserver = homeserver