diff options
author | AndrewRyanChama <89478935+AndrewRyanChama@users.noreply.github.com> | 2022-02-22 04:11:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 07:11:39 -0500 |
commit | 066171643b5812b05dd9352ee650f524567de877 (patch) | |
tree | 8ad178c43f79808b359c640690394332c5a0676b /synapse | |
parent | Merge remote-tracking branch 'origin/master' into develop (diff) | |
download | synapse-066171643b5812b05dd9352ee650f524567de877.tar.xz |
Fetch images when previewing Twitter URLs. (#11985)
By including "bot" in the User-Agent, which some sites use to decide whether to include additional Open Graph information.
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/res/providers.json | 4 | ||||
-rw-r--r-- | synapse/rest/media/v1/preview_url_resource.py | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/synapse/res/providers.json b/synapse/res/providers.json |