From bb69901d947c11dd772e0ac4f40fd54cb56f8cf4 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Mon, 17 May 2021 22:28:30 +0000 Subject: [PATCH] Return joined members in a room from the correct Sled tree. --- matrix_sdk/src/room/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk/src/room/common.rs b/matrix_sdk/src/room/common.rs index 80526bf2..82647506 100644 --- a/matrix_sdk/src/room/common.rs +++ b/matrix_sdk/src/room/common.rs @@ -245,7 +245,7 @@ impl Common { pub async fn joined_members_no_sync(&self) -> Result> { Ok(self .inner - .members() + .joined_members() .await? .into_iter() .map(|member| RoomMember::new(self.client.clone(), member))