From 7075bfcf6be8430ded1393c2bf7daa8e94a59122 Mon Sep 17 00:00:00 2001 From: Florian Vahl Date: Sat, 20 Jun 2020 21:39:19 +0200 Subject: [PATCH] Add comment --- lecture2gether_flask/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lecture2gether_flask/app.py b/lecture2gether_flask/app.py index 41d66a9..8c729cf 100755 --- a/lecture2gether_flask/app.py +++ b/lecture2gether_flask/app.py @@ -226,6 +226,7 @@ def on_leave(data): if not room_token in rooms(sid=request.sid): return {'status_code': 403}, 403 + # Leave the socket.io room leave_room(room_token) # Get room from db room = json.loads(db.hget('rooms', room_token))