Return joined members in a room from the correct Sled tree.

This commit is contained in:
projectmoon 2021-05-17 22:28:30 +00:00
parent cd77441d1b
commit bb69901d94

View file

@ -245,7 +245,7 @@ impl Common {
pub async fn joined_members_no_sync(&self) -> Result<Vec<RoomMember>> {
Ok(self
.inner
.members()
.joined_members()
.await?
.into_iter()
.map(|member| RoomMember::new(self.client.clone(), member))