parent
924aefa0e5
commit
60fe18d16e
|
@ -347,7 +347,6 @@ const getInstanceFeatures = (instance: Instance) => {
|
|||
features.includes('pleroma_custom_emoji_reactions'),
|
||||
features.includes('custom_emoji_reactions'),
|
||||
v.software === PLEROMA && gte(v.version, '2.5.50'),
|
||||
v.software === GLITCH,
|
||||
]),
|
||||
|
||||
/**
|
||||
|
@ -375,7 +374,6 @@ const getInstanceFeatures = (instance: Instance) => {
|
|||
v.software === FIREFISH,
|
||||
v.software === FRIENDICA,
|
||||
v.software === MASTODON,
|
||||
v.software === GLITCH,
|
||||
v.software === MITRA,
|
||||
v.software === PIXELFED,
|
||||
v.software === PLEROMA,
|
||||
|
@ -415,19 +413,13 @@ const getInstanceFeatures = (instance: Instance) => {
|
|||
* @see GET /api/v1/pleroma/statuses/:id/reactions/:emoji?
|
||||
* @see DELETE /api/v1/pleroma/statuses/:id/reactions/:emoji
|
||||
*/
|
||||
emojiReacts: any([
|
||||
v.software === GLITCH,
|
||||
v.software === PLEROMA && gte(v.version, '2.0.0'),
|
||||
]),
|
||||
emojiReacts: v.software === PLEROMA && gte(v.version, '2.0.0'),
|
||||
|
||||
/**
|
||||
* The backend allows only non-RGI ("Recommended for General Interchange") emoji reactions.
|
||||
* @see PUT /api/v1/pleroma/statuses/:id/reactions/:emoji
|
||||
*/
|
||||
emojiReactsNonRGI: any([
|
||||
v.software === GLITCH,
|
||||
v.software === PLEROMA && lt(v.version, '2.2.49'),
|
||||
]),
|
||||
emojiReactsNonRGI: v.software === PLEROMA && lt(v.version, '2.2.49'),
|
||||
|
||||
/**
|
||||
* Sign in with an Ethereum wallet.
|
||||
|
@ -468,7 +460,6 @@ const getInstanceFeatures = (instance: Instance) => {
|
|||
v.software === FIREFISH,
|
||||
v.software === FRIENDICA,
|
||||
v.software === MASTODON,
|
||||
v.software === GLITCH,
|
||||
v.software === TAKAHE && gte(v.version, '0.6.1'),
|
||||
v.software === TRUTHSOCIAL,
|
||||
features.includes('exposable_reactions'),
|
||||
|
|
Loading…
Reference in a new issue