We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04721c8 commit 688f635Copy full SHA for 688f635
2 files changed
changelog.d/18767.misc
@@ -0,0 +1 @@
1
+Update OEmbed providers to use 'X' instead of 'Twitter' in URL previews, following a rebrand. Contributed by @HammyHavoc.
synapse/res/providers.json
@@ -1,14 +1,15 @@
[
2
{
3
- "provider_name": "Twitter",
4
- "provider_url": "http://www.twitter.com/",
+ "provider_name": "X",
+ "provider_url": "https://x.com/",
5
"endpoints": [
6
7
"schemes": [
8
- "https://twitter.com/*/moments/*",
9
- "https://*.twitter.com/*/moments/*"
+ "https://x.com/*",
+ "https://x.com/*/status/*",
10
+ "https://*.x.com/*/status/*"
11
],
- "url": "https://publish.twitter.com/oembed"
12
+ "url": "https://publish.x.com/oembed"
13
}
14
]
15
},
0 commit comments