diff --git a/files/routes/chat.py b/files/routes/chat.py index c509ee5020..92d3a9b4d5 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -16,7 +16,7 @@ def chat( v): @auth_required def speak(data, v): - text = sanitize(data['text'][0:1000].strip()) + text = sanitize(data['text'][:1000].strip()) data={ "avatar": v.profile_url,