api!: remove default value for "addr" config

"addr" is already deprecated and its default value was using "configured_addr".
We want to get rid of "configured_addr" too, but users should at least
not access it through deprecated config.
This commit is contained in:
link2xt
2026-09-17 12:46:43 +00:00
committed by l
parent 6b1d982cfc
commit 3858c47ceb
9 changed files with 30 additions and 27 deletions
+5 -1
View File
@@ -48,7 +48,11 @@ async fn test_setup_contact_ext(case: SetupContactCase) -> (TestContext, TestCon
let mut tcm = TestContextManager::new();
let alice = tcm.alice().await;
let alice_addr = &alice.get_config(Config::Addr).await.unwrap().unwrap();
let alice_addr = &alice
.get_config(Config::ConfiguredAddr)
.await
.unwrap()
.unwrap();
if case == SetupContactCase::AliceHasName {
alice
.set_config(Config::Displayname, Some("Alice"))