From 88b807e9d224066487aed24129abda7a08041d70 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 1 Apr 2020 17:29:11 -0500 Subject: [PATCH] Default 500 max_toot_chars --- app/gabsocial/features/compose/components/compose_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gabsocial/features/compose/components/compose_form.js b/app/gabsocial/features/compose/components/compose_form.js index f8af8052b..d96f5e3f1 100644 --- a/app/gabsocial/features/compose/components/compose_form.js +++ b/app/gabsocial/features/compose/components/compose_form.js @@ -34,7 +34,7 @@ const messages = defineMessages({ const mapStateToProps = state => { return { - maxTootChars: state.getIn(['instance', 'max_toot_chars']), + maxTootChars: state.getIn(['instance', 'max_toot_chars']) || 500, }; };