mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 21:52:30 -04:00
feat(ffi): expose the linked chunk debug string function at the FFI layer
This commit is contained in:
@@ -933,6 +933,13 @@ impl Room {
|
||||
|
||||
Ok(handle)
|
||||
}
|
||||
|
||||
/// Return a debug representation for the internal room events data
|
||||
/// structure, one line per entry in the resulting vector.
|
||||
pub async fn room_events_debug_string(&self) -> Result<Vec<String>, ClientError> {
|
||||
let (cache, _drop_guards) = self.inner.event_cache().await?;
|
||||
Ok(cache.debug_string().await)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<matrix_sdk::room::knock_requests::KnockRequest> for KnockRequest {
|
||||
|
||||
Reference in New Issue
Block a user