Embeds: enable for TruthSocial

This commit is contained in:
Alex Gleason 2022-08-25 21:31:03 -05:00
parent 9c7274ee01
commit 764b2302d9
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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.