From 764b2302d92de8d3356a1fba9bf1311cf17c1698 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 25 Aug 2022 21:31:03 -0500 Subject: [PATCH] Embeds: enable for TruthSocial --- app/soapbox/utils/features.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index 2043e3545..c9eac3688 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -242,7 +242,10 @@ const getInstanceFeatures = (instance: Instance) => { * Ability to embed posts on external sites. * @see GET /api/oembed */ - embeds: v.software === MASTODON, + embeds: any([ + v.software === MASTODON, + v.software === TRUTHSOCIAL, + ]), /** * Ability to add emoji reactions to a status.