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 @@ - +