From 6056796be35bfb561f7e2583edae3f82cdf5f3e6 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 20 Mar 2022 02:11:53 +0200 Subject: [PATCH] fds --- files/routes/chat.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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