pl-api: add feature definition for pleroma shoutbox

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-03-27 23:22:39 +01:00
parent 7e5c9693f6
commit 54e1e21520

View File

@ -1418,6 +1418,8 @@ const getFeatures = (instance: Instance) => {
v.software === PLEROMA,
]),
shoutbox: instance.api_versions['shout.pleroma.pl-api'] >= 1,
/**
* Can set content warnings on statuses.
* @see POST /api/v1/statuses