diff --git a/files/routes/chat.py b/files/routes/chat.py index 6222b6a18..576fd974c 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -28,10 +28,5 @@ def speak(data, v): "userlink":v.url } - emit('speak', data) - return '', 204 - -@sex.on('join') -def join_room(data): - join_room('1') - return '', 204 \ No newline at end of file + emit('speak', data, broadcast=True) + return '', 204 \ No newline at end of file