Reduce space for provider engagement

This commit is contained in:
dangered wolf 2023-12-08 21:07:21 -05:00
parent bc71615cd2
commit 4cf266387a
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -436,7 +436,7 @@ export const handleStatus = async (
/* The additional oembed is pulled by Discord to enable improved embeds.
Telegram does not use this. */
let providerEngagementText = getSocialProof(status) ?? Strings.DEFAULT_AUTHOR_TEXT;
providerEngagementText = providerEngagementText.replace(/ {4}/g, ' ');
providerEngagementText = providerEngagementText.replace(/ {4}/g, ' ');
headers.push(
`<link rel="alternate" href="{base}/owoembed?text={text}{deprecatedFlag}&status={status}&author={author}{provider}" type="application/json+oembed" title="{name}">`.format(
{