summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-18 20:17:36 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-18 20:17:36 +1100
commit51c766a8313e5696fec1ba4ff8fcde18e3b533d4 (patch)
tree4ee335ec1eee5700bee5615026185cbc4e987d7c
parentDon't fetch the emoji owner in identify, as this causes mass-disconnects with... (diff)
parentAdd youtu.be embed handler (#945) (diff)
downloadserver-51c766a8313e5696fec1ba4ff8fcde18e3b533d4.tar.xz
Merge branch 'master' of github.com:fosscord/fosscord-server
-rw-r--r--src/api/util/utility/EmbedHandlers.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/api/util/utility/EmbedHandlers.ts b/src/api/util/utility/EmbedHandlers.ts
index 87215ace..522ff82b 100644
--- a/src/api/util/utility/EmbedHandlers.ts
+++ b/src/api/util/utility/EmbedHandlers.ts
@@ -420,7 +420,9 @@ export const EmbedHandlers: {
 			},
 		};
 	},
-
+	"youtu.be": (url: URL) => {
+		return EmbedHandlers["www.youtube.com"](url);
+	},
 	"youtube.com": (url: URL) => {
 		return EmbedHandlers["www.youtube.com"](url);
 	},