Merge branch 'favourites-visibility-mastodon' into 'develop'

Display favourites/reblogs on Mastodon

See merge request soapbox-pub/soapbox-fe!1363
set-dependency-scanning-config-1
marcin mikołajczak 2022-05-12 20:35:32 +00:00
commit 02fca2f064
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -251,7 +251,10 @@ const getInstanceFeatures = (instance: Instance) => {
]),
/** Whether the accounts who favourited or emoji-reacted to a status can be viewed through the API. */
exposableReactions: features.includes('exposable_reactions'),
exposableReactions: any([
v.software === MASTODON,
features.includes('exposable_reactions'),
]),
/** Whether the instance federates. */
federating: federation.get('enabled', true) === true, // Assume true unless explicitly false