Watch
0
0
Fork
You've already forked hyperhive
0

swarm-controller: move the accounts concern into its own module

Refs #6897
This commit is contained in:
atlas 2026-11-27 13:13:28 +01:00
commit 9b2ba275d8

View file

@ -706,7 +706,7 @@ in
Also the swarm-wide default homeserver for `PUT
.../matrix-accounts/{account}` requests that omit their own
`homeserver` — see that route's own doc comment
(`swarm-controller/src/matrix_account.rs`) for why the field is
(`swarm-controller/src/accounts/matrix_account.rs`) for why the field is
optional in token mode and what omitting it currently resolves to.
That route does not consult it yet.
'';
@ -1083,7 +1083,7 @@ in
SWARM_CONTROLLER_STALE_AFTER_SECS = toString cfg.staleAfterSeconds;
# The accounts the operator admin sync never revokes. Whitespace-
# separated: a matrix user id cannot contain a space. Consumed by
# swarm-controller/src/matrix_account/operator_admin.rs.
# swarm-controller/src/accounts/matrix_account/operator_admin.rs.
SWARM_CONTROLLER_MATRIX_ADMIN_SYNC_IGNORE_USERS = lib.concatStringsSep " " deployCfg.swarm-controller.matrixAdminSync.ignoreUsers;
# Where `GET /api/alerts` reads alerts (swarm-controller/src/alerts.rs).
# Every swarm has one Grafana, reached by name wherever it runs. The