From 00fbb749caa05718ef7aa8e7c7af33c4b98ca7dd Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 20 Mar 2022 02:05:21 +0200 Subject: [PATCH] fds --- files/routes/chat.py | 4 ++-- files/templates/chat.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index c34bae4dd..5cafb8033 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -31,8 +31,8 @@ def speak(data, v): emit('speak', data) return '', 204 -@sex.on('join room') +@sex.on('connect') @auth_required def join_room(data, v): join_room('1') - return '', 204 + return '', 204 \ No newline at end of file diff --git a/files/templates/chat.html b/files/templates/chat.html index 2ec8e9804..7cfac767d 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -47,7 +47,7 @@ - +