Gate events with `features.includes('events')`

environments/review-develop-3zknud/deployments/1852^2
Alex Gleason 2022-12-24 14:42:43 -06:00
rodzic eb4e4c4341
commit 6ac5845deb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -357,7 +357,7 @@ const getInstanceFeatures = (instance: Instance) => {
* @see GET /api/v1/pleroma/events/:id/ics
* @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`).