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] = []