about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/util
diff options
context:
space:
mode:
authorDavid Sterry <davesterry@gmail.com>2021-06-27 13:31:28 -0700
committerClaire <claire.github-309c@sitedethib.com>2021-06-30 00:45:00 +0200
commitba8f4535e3abfbd2f4dac95572877d976b65f0dd (patch)
treea5ff457e1cc681b82a95801314dac6c316d2f5b6 /app/javascript/flavours/glitch/util
parentd1780fb9a4dbf3f458f9634b285294c0d674feb9 (diff)
[Glitch] Hide /about/more footer link in limited federation mode
Port 7c27ccb8d8fda060f3c5b234f7c81fc29b5fc915 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/util')
-rw-r--r--app/javascript/flavours/glitch/util/initial_state.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/util/initial_state.js b/app/javascript/flavours/glitch/util/initial_state.js
index 911468e6f..370d982d2 100644
--- a/app/javascript/flavours/glitch/util/initial_state.js
+++ b/app/javascript/flavours/glitch/util/initial_state.js
@@ -24,6 +24,7 @@ export const searchEnabled = getMeta('search_enabled');
 export const maxChars = (initialState && initialState.max_toot_chars) || 500;
 export const pollLimits = (initialState && initialState.poll_limits);
 export const invitesEnabled = getMeta('invites_enabled');
+export const limitedFederationMode = getMeta('limited_federation_mode');
 export const version = getMeta('version');
 export const mascot = getMeta('mascot');
 export const profile_directory = getMeta('profile_directory');