docs(web-ui): matrix-accounts picker reads state.containers
The M4TR1X ACC0UNTS section said the agent picker is populated from `state.agents`, which never existed on /api/state — the same stale field the code read. Sync the doc to the live roster field.
This commit is contained in:
parent
d8d589ccb2
commit
6a7c0bcad8
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ title). Its own esbuild bundle (`matrix-accounts.js`); no SSE — it reads
|
|||
`/api/state` once for the agent picker and otherwise works off two
|
||||
purpose-built endpoints.
|
||||
|
||||
An agent picker (populated from `state.agents`) drives a list of that
|
||||
An agent picker (populated from `state.containers`, the live roster) drives a list of that
|
||||
agent's configured accounts — name, homeserver, and a token-status dot —
|
||||
read from `GET /api/matrix-accounts?agent=<name>` →
|
||||
`{ accounts: [ { name, homeserver, token_present } ] }`. The status
|
||||
|
|
|
|||
Loading…
Reference in a new issue