Merge remote-tracking branch 'origin/main' into lexical
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user