From 58537e49c0e0a6ccb8d435ba709a44f77fd3900f Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Mon, 24 Apr 2023 23:33:15 -0400 Subject: [PATCH] Remove deprecated video property --- src/status.ts | 2 +- src/types/types.d.ts | 1 - test/index.test.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/status.ts b/src/status.ts index f8947cb..d8c520f 100644 --- a/src/status.ts +++ b/src/status.ts @@ -297,7 +297,7 @@ export const handleStatus = async ( } /* If we have no media to display, instead we'll display the user profile picture in the embed */ - if (!tweet.media?.video && !tweet.media?.photos && !flags?.textOnly) { + if (!tweet.media?.videos && !tweet.media?.photos && !flags?.textOnly) { headers.push( /* Use a slightly higher resolution image for profile pics */ `