Fix past events loading error for invited room

This commit is contained in:
miruka
2019-08-15 11:46:40 -04:00
parent 626f464c53
commit 34edf923d0
4 changed files with 12 additions and 4 deletions

View File

@@ -212,7 +212,7 @@ class MatrixClient(nio.AsyncClient):
async def load_past_events(self, room_id: str) -> bool:
if room_id in self.fully_loaded_rooms:
if room_id in self.fully_loaded_rooms or room_id in self.invited_rooms:
return False
await self.first_sync_happened.wait()