feat(#2482): bootstrap cross-signing so agent matrix devices show verified
This commit is contained in:
parent
1961afd9cc
commit
0d40583991
2 changed files with 57 additions and 4 deletions
|
|
@ -286,6 +286,10 @@ async fn bring_up_account(
|
|||
// the live (authenticated, correct-homeserver) Client. Replaces the old
|
||||
// curl oneshot; failures are swallowed inside sync_avatar.
|
||||
client::sync_avatar(&client, &cfg.state_dir, &cfg.name).await;
|
||||
// Best-effort: bootstrap cross-signing so the account's device isn't
|
||||
// flagged "unverified" in other users' clients. Idempotent + swallows
|
||||
// failures (a UIAA-requiring homeserver) inside ensure_cross_signing.
|
||||
client::ensure_cross_signing(&client, &cfg.name).await;
|
||||
timeline::install_message_handler(&client, hyperhive_socket.to_path_buf(), tag.clone());
|
||||
|
||||
let sync_client = client.clone();
|
||||
|
|
|
|||
Loading…
Reference in a new issue