mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 21:52:30 -04:00
fix(spaces): fix complement-crypto failures because of using an outdated uniffi version
- automatic Arc inference was introduced in 0.27 and complement is using 0.25
This commit is contained in:
committed by
Stefan Ceriu
parent
ad2f4c731a
commit
aa4b176ab3
@@ -57,9 +57,9 @@ impl SpaceService {
|
||||
pub async fn space_room_list(
|
||||
&self,
|
||||
space_id: String,
|
||||
) -> Result<SpaceServiceRoomList, ClientError> {
|
||||
) -> Result<Arc<SpaceServiceRoomList>, ClientError> {
|
||||
let space_id = RoomId::parse(space_id)?;
|
||||
Ok(SpaceServiceRoomList::new(self.inner.space_room_list(space_id)))
|
||||
Ok(Arc::new(SpaceServiceRoomList::new(self.inner.space_room_list(space_id))))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user