Enable post editing on Pleroma

virtuoso-debug
marcin mikołajczak 2022-06-21 22:43:51 +00:00
rodzic 71e314e342
commit 7a0dff1f33
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -206,7 +206,10 @@ const getInstanceFeatures = (instance: Instance) => {
v.software === PLEROMA && gte(v.version, '0.9.9'),
]),
editStatuses: v.software === MASTODON && gte(v.version, '3.5.0'),
editStatuses: any([
v.software === MASTODON && gte(v.version, '3.5.0'),
features.includes('editing'),
]),
/**
* Soapbox email list.