From dabe538f3569f6e4a4c8ca975ce0d9082cad4037 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Tue, 12 Sep 2023 06:15:23 -0400 Subject: [PATCH] Increase maximum authorText to 256 --- 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 92ece7a..1bab6d8 100644 --- a/src/embed/status.ts +++ b/src/embed/status.ts @@ -371,7 +371,7 @@ export const handleStatus = async ( ``.format( { base: Constants.HOST_URL, - text: encodeURIComponent(truncateWithEllipsis(authorText, 250)), + text: encodeURIComponent(truncateWithEllipsis(authorText, 256)), deprecatedFlag: flags?.deprecated ? '&deprecated=true' : '', status: encodeURIComponent(status), author: encodeURIComponent(tweet.author?.screen_name || ''),