diff --git a/files/routes/chat.py b/files/routes/chat.py index c34bae4dd1..5cafb80330 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 2ec8e98040..7cfac767d0 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -47,7 +47,7 @@ - +