Reduce the number of room delegate errors

This commit is contained in:
miruka
2020-04-14 10:55:01 -04:00
parent 6536f89507
commit 01adcff77e
3 changed files with 17 additions and 6 deletions

View File

@@ -761,6 +761,7 @@ class MatrixClient(nio.AsyncClient):
# If a new room was added, wait for onSyncResponse to set the token
await asyncio.sleep(0.1)
print( self.lazy_load_filter)
response = await self.room_messages(
room_id = room_id,
start = self.past_tokens[room_id],