Fix fix for twitter embeds from yesterday
This commit is contained in:
parent
f5b50ed3a8
commit
a11686cfc6
@ -225,7 +225,7 @@ export const EmbedHandlers: { [key: string]: (url: URL) => Promise<Embed | Embed
|
||||
// },
|
||||
};
|
||||
|
||||
if (media.length > 0) {
|
||||
if (media && media.length > 0) {
|
||||
embed.image = {
|
||||
width: media[0].width,
|
||||
height: media[0].height,
|
||||
|
Loading…
x
Reference in New Issue
Block a user