From d32172f74e8c9991e1d1af22af885e60d7fc96c9 Mon Sep 17 00:00:00 2001 From: Devin R Date: Thu, 7 May 2020 15:24:55 -0400 Subject: [PATCH] base_client: todo about room hashmaps --- matrix_sdk_base/src/base_client.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/matrix_sdk_base/src/base_client.rs b/matrix_sdk_base/src/base_client.rs index 300ca4ba..688b0d90 100644 --- a/matrix_sdk_base/src/base_client.rs +++ b/matrix_sdk_base/src/base_client.rs @@ -616,6 +616,9 @@ impl Client { } } + // TODO do we want to move the rooms to the appropriate HashMaps when the corresponding + // event comes in e.g. move a joined room to a left room when leave event comes? + // when events change state, updated signals to StateStore to update database let mut updated = self.iter_joined_rooms(response).await?;