From 004d8b7b03d8cd0c72859fd7a842fe66bf2d28c2 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Fri, 10 Nov 2023 01:09:45 -0500 Subject: [PATCH] Backport fix for #474 from PR --- src/embed/status.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/embed/status.ts b/src/embed/status.ts index 3749e1a..f968bae 100644 --- a/src/embed/status.ts +++ b/src/embed/status.ts @@ -414,7 +414,7 @@ export const handleStatus = async ( ``.format( { base: Constants.HOST_URL, - text: encodeURIComponent(truncateWithEllipsis(authorText, 256)), + text: encodeURIComponent(truncateWithEllipsis(authorText, 255)), deprecatedFlag: flags?.deprecated ? '&deprecated=true' : '', status: encodeURIComponent(status), author: encodeURIComponent(tweet.author?.screen_name || ''),