Gate events with `features.includes('events')`
This commit is contained in:
parent
eb4e4c4341
commit
6ac5845deb
|
@ -357,7 +357,7 @@ const getInstanceFeatures = (instance: Instance) => {
|
||||||
* @see GET /api/v1/pleroma/events/:id/ics
|
* @see GET /api/v1/pleroma/events/:id/ics
|
||||||
* @see GET /api/v1/pleroma/search/location
|
* @see GET /api/v1/pleroma/search/location
|
||||||
*/
|
*/
|
||||||
events: v.software === PLEROMA && v.build === REBASED && gte(v.version, '2.4.50'),
|
events: features.includes('events'),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ability to address recipients of a status explicitly (with `to`).
|
* Ability to address recipients of a status explicitly (with `to`).
|
||||||
|
|
Loading…
Reference in New Issue