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:
Stefan Ceriu
2025-08-08 15:30:02 +03:00
committed by Stefan Ceriu
parent ad2f4c731a
commit aa4b176ab3

View File

@@ -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))))
}
}