Merge branch 'familiar-followers-ditto' into 'main'

Enable familiarFollowers on Ditto

See merge request soapbox-pub/soapbox!3035
environments/review-main-yi2y9f/deployments/4638
Alex Gleason 2024-05-25 03:43:38 +00:00
commit 2224bb2ac9
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -17,7 +17,7 @@ export const fetchAccountFamiliarFollowers = (accountId: string) => (dispatch: A
id: accountId,
});
api(getState).get(`/api/v1/accounts/familiar_followers?id=${accountId}`)
api(getState).get(`/api/v1/accounts/familiar_followers?id[]=${accountId}`)
.then(({ data }) => {
const accounts = data.find(({ id }: { id: string }) => id === accountId).accounts;

Wyświetl plik

@ -529,6 +529,7 @@ const getInstanceFeatures = (instance: Instance) => {
v.software === MASTODON && gte(v.version, '3.5.0'),
v.software === PLEROMA && gte(v.version, '2.5.51') && v.build === REBASED,
v.software === TAKAHE,
v.software === DITTO,
]),
/** Whether the instance federates. */