Change compose form to use server-provided post character limit (#28928)
This commit is contained in:
1 parent
45287049ab
commit
805dba7f8d
2 files changed
+6
-4
No files matched your search
@@ -28,6 +28,7 @@ const mapStateToProps = state => ({
|
||||
anyMedia: state.getIn(['compose', 'media_attachments']).size > 0,
|
||||
isInReply: state.getIn(['compose', 'in_reply_to']) !== null,
|
||||
lang: state.getIn(['compose', 'language']),
|
||||
maxChars: state.getIn(['server', 'server', 'configuration', 'statuses', 'max_characters'], 500),
|
||||
});
|
||||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
|
||||
Reference in new issue
Block a user