summary refs log tree commit diff
path: root/synapse/res/providers.json
diff options
context:
space:
mode:
authorAndrewRyanChama <89478935+AndrewRyanChama@users.noreply.github.com>2022-02-22 04:11:39 -0800
committerGitHub <noreply@github.com>2022-02-22 07:11:39 -0500
commit066171643b5812b05dd9352ee650f524567de877 (patch)
tree8ad178c43f79808b359c640690394332c5a0676b /synapse/res/providers.json
parentMerge remote-tracking branch 'origin/master' into develop (diff)
downloadsynapse-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/res/providers.json')
-rw-r--r--synapse/res/providers.json4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/res/providers.json b/synapse/res/providers.json
index f1838f9559..7b9958e454 100644
--- a/synapse/res/providers.json
+++ b/synapse/res/providers.json
@@ -5,8 +5,6 @@
         "endpoints": [
             {
                 "schemes": [
-                    "https://twitter.com/*/status/*",
-                    "https://*.twitter.com/*/status/*",
                     "https://twitter.com/*/moments/*",
                     "https://*.twitter.com/*/moments/*"
                 ],
@@ -14,4 +12,4 @@
             }
         ]
     }
-]
\ No newline at end of file
+]