From 3fdd5f58cd357c5e32229a47259a9d186370725f Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 10 Apr 2024 14:23:31 +0200 Subject: [PATCH] fix chat 500 error --- files/routes/chat.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/routes/chat.py b/files/routes/chat.py index a4ecd9ca5..409eb5844 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -220,6 +220,9 @@ def connect(v): join_room(room) + if not online.get(room): + online[room] = {} + if not typing.get(room): typing[room] = []