From c4e5c8aefe9bc7d263a254cfe2537764b4f1352f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 13 Aug 2022 11:45:33 +0200 Subject: [PATCH] reduce chat max char limit --- files/routes/chat.py | 2 +- files/templates/chat.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index d3e702088..46665cdcf 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -47,7 +47,7 @@ def speak(data, v): else: del muted[vname] global messages, total - text = data[:1000].strip() + text = data[:200].strip() if not text: return '', 403 text_html = sanitize(text) diff --git a/files/templates/chat.html b/files/templates/chat.html index 73215220e..ab0bc39c2 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -184,7 +184,7 @@ - +