Skip to content

Commit 741859e

Browse files
committed
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
1 parent 54cd043 commit 741859e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings/matrix-sdk-ffi/src/spaces.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ impl SpaceService {
5757
pub async fn space_room_list(
5858
&self,
5959
space_id: String,
60-
) -> Result<SpaceServiceRoomList, ClientError> {
60+
) -> Result<Arc<SpaceServiceRoomList>, ClientError> {
6161
let space_id = RoomId::parse(space_id)?;
62-
Ok(SpaceServiceRoomList::new(self.inner.space_room_list(space_id)))
62+
Ok(Arc::new(SpaceServiceRoomList::new(self.inner.space_room_list(space_id))))
6363
}
6464
}
6565

0 commit comments

Comments
 (0)