main
emile 11 months ago
parent 0a7315949f
commit 82c6b95629

Binary file not shown.

@ -172,7 +172,7 @@ class TicketRoomConsumer(WebsocketConsumer):
connections = TicketConnection.objects.filter(ticket=self.ticket, terminated_at__isnull=True) connections = TicketConnection.objects.filter(ticket=self.ticket, terminated_at__isnull=True)
event = { event = {
'type': 'user_connection_handler', 'type': 'user_connection_handler',
'user': self.scope['user'], 'user': self.user,
'connections': connections, 'connections': connections,
} }
async_to_sync(self.channel_layer.group_send)( async_to_sync(self.channel_layer.group_send)(

Loading…
Cancel
Save