Use types param in /api/v1/notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@@ -401,6 +401,15 @@ const getInstanceFeatures = (instance: Instance) => {
|
||||
v.software === PLEROMA && gte(v.version, '2.4.50'),
|
||||
]),
|
||||
|
||||
/**
|
||||
* Allows specifying notification types to include, rather than to exclude.
|
||||
* @see GET /api/v1/notifications
|
||||
*/
|
||||
notificationsIncludeTypes: any([
|
||||
v.software === MASTODON && gte(v.compatVersion, '3.5.0'),
|
||||
v.software === PLEROMA && gte(v.version, '2.4.50'),
|
||||
]),
|
||||
|
||||
/**
|
||||
* Supports pagination in threads.
|
||||
* @see GET /api/v1/statuses/:id/context/ancestors
|
||||
|
||||
Reference in New Issue
Block a user