diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-18 20:17:36 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-18 20:17:36 +1100 |
commit | 1a0cbcb1d49f52c39a8405f114b0ebc9a5d95891 (patch) | |
tree | 0ba0644b44c424bc30c1603eefa7f106b6533584 | |
parent | Don't fetch the emoji owner in identify, as this causes mass-disconnects with... (diff) | |
parent | Add youtu.be embed handler (#945) (diff) | |
download | server-1a0cbcb1d49f52c39a8405f114b0ebc9a5d95891.tar.xz |
Merge branch 'master' of github.com:fosscord/fosscord-server
-rw-r--r-- | src/api/util/utility/EmbedHandlers.ts | 4 |
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); }, |