We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ea0418 commit 93f71baCopy full SHA for 93f71ba
1 file changed
bindings/matrix-sdk-ffi/src/client.rs
@@ -1870,6 +1870,12 @@ impl Client {
1870
.any(|focus| matches!(focus, RtcFocusInfo::LiveKit(_))))
1871
}
1872
1873
+ /// Checks if the server supports login using a QR code.
1874
+ pub async fn is_login_with_qr_code_supported(&self) -> Result<bool, ClientError> {
1875
+ Ok(matches!(self.inner.auth_api(), Some(AuthApi::OAuth(_)))
1876
+ && self.inner.unstable_features().await?.contains(&ruma::api::FeatureFlag::Msc4108))
1877
+ }
1878
+
1879
/// Get server vendor information from the federation API.
1880
///
1881
/// This method retrieves information about the server's name and version
0 commit comments