Add config param to disable client wellknown fetch (#34084)

* Add enable_client_well_known_lookups config option

Signed-off-by: David Langley <langley.dave@gmail.com>

* Gate client .well-known poll on enable_client_well_known_lookups

Signed-off-by: David Langley <langley.dave@gmail.com>

* Gate MatrixRTC foci well-known fallback on enable_client_well_known_lookups

Signed-off-by: David Langley <langley.dave@gmail.com>

---------

Signed-off-by: David Langley <langley.dave@gmail.com>
Co-authored-by: David Langley <langley.dave@gmail.com>
This commit is contained in:
David Langley
2026-07-13 15:27:36 +00:00
committed by GitHub
co-authored by David Langley
parent c4606c19f8
commit 6aeb5f552b
7 changed files with 71 additions and 5 deletions
+8
View File
@@ -37,6 +37,14 @@ export interface WebConfigJson {
disable_login_language_selector?: boolean;
disable_3pid_login?: boolean;
/**
* Whether the app may make runtime requests to the user's `<server_name>/.well-known/matrix/...`
* endpoints (such as the post-login client well-known poll). Set to false to disable these, so the app
* only contacts the homeserver base URL. Does not affect the `well_known` returned inline in the
* `/login` response. Defaults to true.
*/
enable_client_well_known_lookups?: boolean;
brand?: string;
branding?: {
welcome_background_url?: string | string[]; // chosen at random if array