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;