Enable reactions on Ditto

environments/review-reactions-lwb9ex/deployments/4630
Alex Gleason 2024-05-22 21:19:53 -05:00
rodzic 49d1ee339c
commit 02a4124b82
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -463,7 +463,10 @@ const getInstanceFeatures = (instance: Instance) => {
* @see GET /api/v1/pleroma/statuses/:id/reactions/:emoji?
* @see DELETE /api/v1/pleroma/statuses/:id/reactions/:emoji
*/
emojiReacts: v.software === PLEROMA && gte(v.version, '2.0.0'),
emojiReacts: any([
v.software === PLEROMA && gte(v.version, '2.0.0'),
v.software === DITTO,
]),
/**
* Ability to add emoji reactions to a status available in Mastodon forks.