mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 21:52:30 -04:00
Fix doc ofr room::Common::decrypt_event()
This commit is contained in:
@@ -911,7 +911,7 @@ impl Common {
|
||||
/// # Arguments
|
||||
/// * `event` - The room event to be decrypted.
|
||||
///
|
||||
/// Returns:
|
||||
/// Returns the decrypted event if it was encrypted else `None`
|
||||
#[cfg(feature = "e2e-encryption")]
|
||||
pub async fn decrypt_event<E>(&self, event: &E) -> Result<Option<RoomEvent>>
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user