summary refs log tree commit diff
path: root/synapse/config/oembed.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Request JSON for oEmbed requests (and ignore XML only providers). (#10759)Patrick Cloke2021-09-081-4/+20
| | | | | | | | This adds the format to the request arguments / URL to ensure that JSON data is returned (which is all that Synapse supports). This also adds additional error checking / filtering to the configuration file to ignore XML-only providers.
* Allow configuration of the oEmbed URLs. (#10714)Patrick Cloke2021-08-311-0/+180
This adds configuration options (under an `oembed` section) to configure which URLs are matched to use oEmbed for URL previews.