diff --git a/anonstream/config.py b/anonstream/config.py index 28ca288..4223ad2 100644 --- a/anonstream/config.py +++ b/anonstream/config.py @@ -116,7 +116,7 @@ def toml_to_flask_section_presence(config): def toml_to_flask_section_chat(config): cfg = config['chat'] return { - 'CHAT_COMMENT_MAX_LENGTH': cfg['max_name_length'], + 'CHAT_COMMENT_MAX_LENGTH': cfg['max_comment_length'], 'CHAT_NAME_MAX_LENGTH': cfg['max_name_length'], 'CHAT_NAME_MIN_CONTRAST': cfg['min_name_contrast'], 'CHAT_BACKGROUND_COLOUR': color_to_colour(cfg['background_color']),