docs: Clarify

This commit is contained in:
Jade Ellis 2025-04-20 00:31:08 +01:00
parent 84445b8458
commit fe7963d306
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -1385,8 +1385,6 @@ pub struct Config {
/// sender user's server name, inbound federation X-Matrix origin, and /// sender user's server name, inbound federation X-Matrix origin, and
/// outbound federation handler. /// outbound federation handler.
/// ///
/// Basically "global" ACLs.
///
/// You can set this to ["*"] to block all servers by default, and then /// You can set this to ["*"] to block all servers by default, and then
/// use `allowed_remote_server_names` to allow only specific servers. /// use `allowed_remote_server_names` to allow only specific servers.
/// ///
@ -1399,6 +1397,8 @@ pub struct Config {
/// List of allowed server names via regex patterns that we will allow, /// List of allowed server names via regex patterns that we will allow,
/// regardless of if they match `forbidden_remote_server_names`. /// regardless of if they match `forbidden_remote_server_names`.
/// ///
/// This option has no effect if `forbidden_remote_server_names` is empty.
///
/// example: ["goodserver\.tld$", "goodphrase"] /// example: ["goodserver\.tld$", "goodphrase"]
/// ///
/// default: [] /// default: []