Skip to content
Snippets Groups Projects
Commit 8d14036a authored by feld's avatar feld
Browse files

Add fallback in case BE does not report federating status in nodeinfo

parent 0743fbb2
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ const NavPanel = {
chat: state => state.chat.channel,
followRequestCount: state => state.api.followRequests.length,
privateMode: state => state.instance.private,
federating: state => state.instance.federationPolicy.enabled
federating: state => state.instance.federationPolicy.enabled || state.instance.federationPolicy.enabled !== false
})
}
......
......@@ -46,7 +46,7 @@ const SideDrawer = {
return this.$store.state.instance.private
},
federating () {
return this.$store.state.instance.federationPolicy.enabled
return this.$store.state.instance.federationPolicy.enabled || this.$store.state.instance.federationPolicy.enabled !== false
}
},
methods: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment