feat(#2039): drop is_primary from get_agent_meta matrix identities
This commit is contained in:
parent
5b442796ca
commit
5972605aeb
2 changed files with 3 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue