From 223d692d112b9169c87eda01720f3df1acec20ce Mon Sep 17 00:00:00 2001 From: Kilton937342 Date: Thu, 28 Jul 2022 12:44:45 +0200 Subject: [PATCH] consumer --- backend/api/room/consumers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/api/room/consumers.py b/backend/api/room/consumers.py index 5829164c..fd8dacb6 100644 --- a/backend/api/room/consumers.py +++ b/backend/api/room/consumers.py @@ -10,7 +10,8 @@ from .models import Room class RoomConsumer(AsyncWebsocketConsumer): async def connect(self): - + print('START CONNECT') + self.accept() self.room_id = self.scope['url_route']['kwargs']['room_id'] self.waiter = None self.clientId = str(uuid4())