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 d800d3c commit b4afb91Copy full SHA for b4afb91
bindings/matrix-sdk-ffi/src/client.rs
@@ -1202,6 +1202,11 @@ impl Client {
1202
1203
Ok(closure().await?)
1204
}
1205
+
1206
+ /// Checks if the server supports the report room API.
1207
+ pub async fn is_report_room_api_supported(&self) -> Result<bool, ClientError> {
1208
+ Ok(self.inner.server_versions().await?.contains(&ruma::api::MatrixVersion::V1_13))
1209
+ }
1210
1211
1212
#[matrix_sdk_ffi_macros::export(callback_interface)]
0 commit comments