pl-api: update feature definitions for hollo

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-02-03 20:18:40 +01:00
parent f913db1b17
commit 0259d58706

View File

@ -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.