When room changes category, affect the Chat too

This commit is contained in:
miruka
2019-07-07 02:35:22 -04:00
parent be152c3acf
commit a47e6b5c07
5 changed files with 33 additions and 29 deletions

View File

@@ -114,7 +114,6 @@ class MatrixClient(nio.AsyncClient):
return
self.backend.pending_profile_requests.add(user_id)
print("Requesting user profile:", user_id)
response = await self.get_profile(user_id)
if isinstance(response, nio.ProfileGetError):
@@ -171,7 +170,6 @@ class MatrixClient(nio.AsyncClient):
)
more_to_load = True
print(len(response.chunk))
if self.backend.past_tokens[room_id] == response.end:
self.backend.fully_loaded_rooms.add(room_id)