From ba7f99096cf342675b9a26fc39fe172c13975e2f Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 30 Mar 2022 16:30:04 -0500 Subject: [PATCH] utils/features: don't call .get --- app/soapbox/utils/features.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index b1f92b99d2..c3452bef51 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -21,7 +21,7 @@ export const MITRA = 'Mitra'; export const TRUTHSOCIAL = 'TruthSocial'; const getInstanceFeatures = (instance: Instance) => { - const v = parseVersion(instance.get('version')); + const v = parseVersion(instance.version); const features = instance.pleroma.getIn(['metadata', 'features'], ImmutableList()) as ImmutableList; const federation = instance.pleroma.getIn(['metadata', 'federation'], ImmutableMap()) as ImmutableMap;