diff --git a/files/routes/chat.py b/files/routes/chat.py index a25fff18a..565c478e2 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -47,7 +47,10 @@ def speak(data, v): else: del muted[vname] global messages, total - text = data[:200].strip() + + if SITE == 'rdrama.net': text = data[:200].strip() + else: text = data[:1000].strip() + if not text: return '', 403 text_html = sanitize(text) diff --git a/files/templates/chat.html b/files/templates/chat.html index bc31b516a..c739c028d 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -184,7 +184,7 @@ - +