Merge remote-tracking branch 'origin/main' into lexical

This commit is contained in:
Alex Gleason
2023-09-22 13:36:04 -05:00
22 changed files with 19 additions and 1122 deletions

View File

@@ -247,19 +247,6 @@ const getInstanceFeatures = (instance: Instance) => {
v.software === PLEROMA,
]),
/**
* Whether to show the Feed Carousel for suggested Statuses.
* @see GET /api/v1/truth/carousels/avatars
* @see GET /api/v1/truth/carousels/suggestions
*/
carousel: v.software === TRUTHSOCIAL,
/**
* Ability to mark a carousel avatar as "seen."
* @see POST /api/v1/truth/carousels/avatars/seen
*/
carouselSeen: v.software === TRUTHSOCIAL,
/**
* Ability to accept a chat.
* POST /api/v1/pleroma/chats/:id/accept
@@ -936,12 +923,6 @@ const getInstanceFeatures = (instance: Instance) => {
v.software === MASTODON && gte(v.compatVersion, '3.5.0'),
]),
/**
* Truth Social trending statuses API.
* @see GET /api/v1/truth/trending/truths
*/
trendingTruths: v.software === TRUTHSOCIAL,
/**
* Can display trending hashtags.
* @see GET /api/v1/trends
@@ -953,18 +934,6 @@ const getInstanceFeatures = (instance: Instance) => {
v.software === DITTO,
]),
/**
* Truth Social policies.
* @see GET /api/v1/truth/policies/pending
* @see PATCH /api/v1/truth/policies/:policyId/accept
*/
truthPolicies: v.software === TRUTHSOCIAL,
/**
* Supports Truth suggestions.
*/
truthSuggestions: v.software === TRUTHSOCIAL,
/**
* Whether the backend allows adding users you don't follow to lists.
* @see POST /api/v1/lists/:id/accounts