MCPcopy Create free account
hub / github.com/chatmail/core / allow_unencrypted

Method allow_unencrypted

src/test_utils.rs:1234–1237  ·  view source on GitHub ↗

Allow reception of unencrypted messages.

(&self)

Source from the content-addressed store, hash-verified

1232
1233 /// Allow reception of unencrypted messages.
1234 pub async fn allow_unencrypted(&self) -> Result<()> {
1235 self.set_config_bool(Config::ForceEncryption, false).await?;
1236 Ok(())
1237 }
1238}
1239
1240pub async fn encrypt_raw_message(

Calls 1

set_config_boolMethod · 0.80

Tested by

no test coverage detected