Add support for Ditto
This commit is contained in:
parent
61283a8179
commit
7aac5ccc34
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Posts: Support posts filtering on recent Mastodon versions
|
- Posts: Support posts filtering on recent Mastodon versions
|
||||||
- Reactions: Support custom emoji reactions
|
- Reactions: Support custom emoji reactions
|
||||||
- Compatbility: Support Mastodon v2 timeline filters.
|
- Compatbility: Support Mastodon v2 timeline filters.
|
||||||
|
- Compatbility: Preliminary support for Ditto backend.
|
||||||
- Posts: Support dislikes on Friendica.
|
- Posts: Support dislikes on Friendica.
|
||||||
- UI: added a character counter to some textareas.
|
- UI: added a character counter to some textareas.
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,12 @@ const overrides = custom('features');
|
||||||
/** Truthy array convenience function */
|
/** Truthy array convenience function */
|
||||||
const any = (arr: Array<any>): boolean => arr.some(Boolean);
|
const any = (arr: Array<any>): boolean => arr.some(Boolean);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ditto, a Nostr server with Mastodon API.
|
||||||
|
* @see {@link https://gitlab.com/soapbox-pub/ditto}
|
||||||
|
*/
|
||||||
|
export const DITTO = 'Ditto';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Friendica, decentralized social platform implementing multiple federation protocols.
|
* Friendica, decentralized social platform implementing multiple federation protocols.
|
||||||
* @see {@link https://friendi.ca/}
|
* @see {@link https://friendi.ca/}
|
||||||
|
@ -137,6 +143,7 @@ const getInstanceFeatures = (instance: Instance) => {
|
||||||
v.software === PLEROMA && gte(v.version, '2.4.50'),
|
v.software === PLEROMA && gte(v.version, '2.4.50'),
|
||||||
v.software === TAKAHE && gte(v.version, '0.6.1'),
|
v.software === TAKAHE && gte(v.version, '0.6.1'),
|
||||||
v.software === TRUTHSOCIAL,
|
v.software === TRUTHSOCIAL,
|
||||||
|
v.software === DITTO,
|
||||||
]),
|
]),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue