From b4795ebef7475b8ea36b079da04749e692db74a2 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 29 Sep 2023 07:43:02 +0300 Subject: [PATCH] dont use uuids for chat (pretty unnecessary and rly ugly) --- 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 8cf7e10f52..13ecc5db3c 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -126,7 +126,7 @@ def speak(data, v): return text_html quotes = data['quotes'] - id = str(uuid.uuid4()) + id = secrets.token_urlsafe(4).lower() self_only = False