Chats: make Truth Policies conditional

This commit is contained in:
Alex Gleason
2022-11-02 14:02:43 -05:00
parent 69d92b6f95
commit 4dc0ab2d00
2 changed files with 10 additions and 2 deletions

View File

@ -641,6 +641,13 @@ const getInstanceFeatures = (instance: Instance) => {
v.software === TRUTHSOCIAL,
]),
/**
* 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.
*/