From 0259d58706265912bb08013d3f69557e11e34e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Tue, 3 Feb 2026 20:18:40 +0100 Subject: [PATCH] pl-api: update feature definitions for hollo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-api/lib/features.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/pl-api/lib/features.ts b/packages/pl-api/lib/features.ts index 97f256af0..cb3632631 100644 --- a/packages/pl-api/lib/features.ts +++ b/packages/pl-api/lib/features.ts @@ -966,7 +966,10 @@ const getFeatures = (instance: Instance) => { * @see GET /api/v2/notifications/:group_key/accounts * @see GET /api/v2/notifications/unread_count */ - groupedNotifications: instance.api_versions.mastodon >= 2, + groupedNotifications: any([ + instance.api_versions.mastodon >= 2, + v.software === HOLLO && gte(v.version, '0.7.0'), + ]), /** * Groups.