[Glitch] Honor configuration.statuses.max_characters from /api/v2/instance

Port fd4a9c25dd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
zunda
2026-05-22 20:00:18 +02:00
committed by Claire
parent ae9b00dca8
commit f69f8fbb73
@@ -80,7 +80,7 @@ const mapStateToProps = state => ({
lang: state.getIn(['compose', 'language']),
sideArm: sideArmPrivacy(state),
media: state.getIn(['compose', 'media_attachments']),
maxChars: state.getIn(['server', 'server', 'configuration', 'statuses', 'max_characters'], 500),
maxChars: state.getIn(['server', 'server', 'item', 'configuration', 'statuses', 'max_characters'], 500),
});
const mapDispatchToProps = (dispatch, props) => ({