This commit is contained in:
Kilton937342 2022-07-28 12:44:45 +02:00
parent 546facff02
commit 223d692d11

View File

@ -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())