diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-08-31 18:37:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-31 18:37:07 -0400 |
commit | e2481dbe9325321d460037a2efe9b9ea2ac78057 (patch) | |
tree | 3f854d614a5be0e90e8a07ad02e15fb9de143ef4 /synapse/config/homeserver.py | |
parent | Additional type hints for the client REST servlets (part 3). (#10707) (diff) | |
download | synapse-e2481dbe9325321d460037a2efe9b9ea2ac78057.tar.xz |
Allow configuration of the oEmbed URLs. (#10714)
This adds configuration options (under an `oembed` section) to configure which URLs are matched to use oEmbed for URL previews.
Diffstat (limited to 'synapse/config/homeserver.py')
-rw-r--r-- | synapse/config/homeserver.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/homeserver.py b/synapse/config/homeserver.py index 1f42a51857..442f1b9ac0 100644 --- a/synapse/config/homeserver.py +++ b/synapse/config/homeserver.py @@ -30,6 +30,7 @@ from .key import KeyConfig from .logger import LoggingConfig from .metrics import MetricsConfig from .modules import ModulesConfig +from .oembed import OembedConfig from .oidc import OIDCConfig from .password_auth_providers import PasswordAuthProviderConfig from .push import PushConfig @@ -65,6 +66,7 @@ class HomeServerConfig(RootConfig): LoggingConfig, RatelimitConfig, ContentRepositoryConfig, + OembedConfig, CaptchaConfig, VoipConfig, RegistrationConfig, |