Display favourites/reblogs on Mastodon

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-05-12 20:43:48 +02:00
parent f050a3729d
commit c8c4d9a9de
1 changed files with 4 additions and 1 deletions

View File

@ -245,7 +245,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