diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index c11269a1..63e4a2be 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -2069,12 +2069,25 @@ pub struct WellKnownConfig { /// example: "matrix.example.com:443" pub server: Option, + /// The URL of the support web page. This and the below generate the content + /// of `/.well-known/matrix/support`. + /// + /// example: "https://example.com/support" pub support_page: Option, + /// The name of the support role. + /// + /// example: "m.role.admin" pub support_role: Option, + /// The email address for the above support role. + /// + /// example: "admin@example.com" pub support_email: Option, + /// The Matrix User ID for the above support role. + /// + /// example "@admin:example.com" pub support_mxid: Option, } diff --git a/tuwunel-example.toml b/tuwunel-example.toml index 4e7004de..e121893b 100644 --- a/tuwunel-example.toml +++ b/tuwunel-example.toml @@ -1761,19 +1761,28 @@ # #server = -# This item is undocumented. Please contribute documentation for it. +# The URL of the support web page. This and the below generate the content +# of `/.well-known/matrix/support`. +# +# example: "https://example.com/support" # #support_page = -# This item is undocumented. Please contribute documentation for it. +# The name of the support role. +# +# example: "m.role.admin" # #support_role = -# This item is undocumented. Please contribute documentation for it. +# The email address for the above support role. +# +# example: "admin@example.com" # #support_email = -# This item is undocumented. Please contribute documentation for it. +# The Matrix User ID for the above support role. +# +# example "@admin:example.com" # #support_mxid =