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

Display favourites/reblogs on Mastodon

See merge request soapbox-pub/soapbox-fe!1363
This commit is contained in:
marcin mikołajczak 2022-05-12 20:35:32 +00:00
commit 02fca2f064
1 changed files with 4 additions and 1 deletions

View File

@ -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