From 36c5b0e2f0c521cc9b45f6712d159c8d77d5096e Mon Sep 17 00:00:00 2001 From: Jeremy Kescher Date: Mon, 6 Jan 2025 09:14:11 +0100 Subject: [PATCH] [Glitch] Fix `/share` not using server-set characters limit Port 44a88ad4d5d075a78832557ffaafb70c01ad25f7 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/containers/compose_container.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/javascript/flavours/glitch/containers/compose_container.jsx b/app/javascript/flavours/glitch/containers/compose_container.jsx index 772ac5fa6b..c155180c8d 100644 --- a/app/javascript/flavours/glitch/containers/compose_container.jsx +++ b/app/javascript/flavours/glitch/containers/compose_container.jsx @@ -1,6 +1,7 @@ import { Provider } from 'react-redux'; import { fetchCustomEmojis } from 'flavours/glitch/actions/custom_emojis'; +import { fetchServer } from 'flavours/glitch/actions/server'; import { hydrateStore } from 'flavours/glitch/actions/store'; import { Router } from 'flavours/glitch/components/router'; import Compose from 'flavours/glitch/features/standalone/compose'; @@ -13,6 +14,7 @@ if (initialState) { } store.dispatch(fetchCustomEmojis()); +store.dispatch(fetchServer()); const ComposeContainer = () => (