mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 05:34:59 -04:00
Be more lenient when parsing the version for oEmbed responses. (#11065)
This commit is contained in:
parent
2a2b189130
commit
732bbf6737
5 changed files with 60 additions and 8 deletions
|
@ -140,7 +140,7 @@ class PreviewUrlResource(DirectServeJsonResource):
|
|||
self.primary_base_path = media_repo.primary_base_path
|
||||
self.media_storage = media_storage
|
||||
|
||||
self._oembed = OEmbedProvider(hs, self.client)
|
||||
self._oembed = OEmbedProvider(hs)
|
||||
|
||||
# We run the background jobs if we're the instance specified (or no
|
||||
# instance is specified, where we assume there is only one instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue