We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54cd043 commit 741859eCopy full SHA for 741859e
bindings/matrix-sdk-ffi/src/spaces.rs
@@ -57,9 +57,9 @@ impl SpaceService {
57
pub async fn space_room_list(
58
&self,
59
space_id: String,
60
- ) -> Result<SpaceServiceRoomList, ClientError> {
+ ) -> Result<Arc<SpaceServiceRoomList>, ClientError> {
61
let space_id = RoomId::parse(space_id)?;
62
- Ok(SpaceServiceRoomList::new(self.inner.space_room_list(space_id)))
+ Ok(Arc::new(SpaceServiceRoomList::new(self.inner.space_room_list(space_id))))
63
}
64
65
0 commit comments