pl-api: support bubble timeline streaming

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-04-17 17:46:30 +02:00
parent 495076e026
commit 32ff4b1e59
3 changed files with 20 additions and 1 deletions

View File

@ -414,7 +414,12 @@ const getFeatures = (instance: Instance) => {
* Can display a timeline of statuses from instances selected by instance admin.
* @see GET /api/v1/timelines/bubble
*/
bubbleTimeline: instance.api_versions['bubble_timeline.pleroma.pl-api'] >= 1,
bubbleTimeline: any([
instance.api_versions['bubble_timeline.pleroma.pl-api'] >= 1,
v.software === ICESHRIMP_NET,
]),
bubbleTimelineStreaming: v.software === ICESHRIMP_NET,
/**
* Pleroma chats API.