feat(#2039): drop is_primary from get_agent_meta matrix identities

This commit is contained in:
damocles 2026-06-27 12:39:44 +02:00 committed by mara
commit 5972605aeb
2 changed files with 3 additions and 10 deletions

View file

@ -510,12 +510,7 @@ pub fn format_agent_meta(resp: Result<SocketReply, anyhow::Error>) -> String {
out.push_str("\nmatrix_accounts:");
for acct in &matrix_accounts {
let uid = acct.user_id.as_deref().unwrap_or("?");
let primary = if acct.is_primary { " [primary]" } else { "" };
let _ = write!(
out,
"\n {} ({uid}) on {}{primary}",
acct.name, acct.homeserver
);
let _ = write!(out, "\n {} ({uid}) on {}", acct.name, acct.homeserver);
}
}
out