Fixed ext video embeds not setting author

This commit is contained in:
dangered wolf 2022-08-08 14:55:23 -04:00
parent c5b3963039
commit 4891e10ad3
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -170,6 +170,7 @@ export const handleStatus = async (
/* External media renderer (i.e. YouTube) */
if (tweet.media?.external) {
const { external } = tweet.media;
authorText = newText || '';
headers.push(
`<meta name="twitter:player" content="${external.url}">`,
`<meta name="twitter:player:width" content="${external.width}">`,