feat: default bcc_self to 0 for new accounts

This commit is contained in:
link2xt
2025-11-13 12:37:44 +00:00
committed by l
parent cdfe436124
commit 22ebd6436f
6 changed files with 51 additions and 18 deletions

View File

@@ -979,11 +979,10 @@ mod tests {
let context1 = &TestContext::new_alice().await;
// `bcc_self` is enabled by default for test contexts. Unset it.
context1.set_config(Config::BccSelf, None).await?;
// Check that the settings are displayed correctly.
assert_eq!(
context1.get_config(Config::BccSelf).await?,
Some("1".to_string())
);
assert_eq!(
context1.get_config(Config::DeleteServerAfter).await?,
Some("0".to_string())