example config: Document support items

Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
Guido Günther
2025-09-18 16:05:34 +02:00
committed by Jason Volk
parent 6a685b7ee9
commit 83ed29eb65
2 changed files with 26 additions and 4 deletions

View File

@@ -2069,12 +2069,25 @@ pub struct WellKnownConfig {
/// example: "matrix.example.com:443"
pub server: Option<OwnedServerName>,
/// 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<Url>,
/// The name of the support role.
///
/// example: "m.role.admin"
pub support_role: Option<ContactRole>,
/// The email address for the above support role.
///
/// example: "admin@example.com"
pub support_email: Option<String>,
/// The Matrix User ID for the above support role.
///
/// example "@admin:example.com"
pub support_mxid: Option<OwnedUserId>,
}

View File

@@ -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 =