From 90fa5644efa6ddbb202e22b6f35b1a82be2d6b80 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 20 Mar 2022 00:30:04 +0200 Subject: [PATCH] fds --- files/routes/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index c509ee502..92d3a9b4d 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,