diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index 6fd2c2d8..1c46c3b7 100644 Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ diff --git a/osinaweb/support/__pycache__/consumers.cpython-310.pyc b/osinaweb/support/__pycache__/consumers.cpython-310.pyc index d1610cb2..db4ba3b5 100644 Binary files a/osinaweb/support/__pycache__/consumers.cpython-310.pyc and b/osinaweb/support/__pycache__/consumers.cpython-310.pyc differ diff --git a/osinaweb/support/consumers.py b/osinaweb/support/consumers.py index 0b229ae8..71ab0ec1 100644 --- a/osinaweb/support/consumers.py +++ b/osinaweb/support/consumers.py @@ -170,11 +170,9 @@ class TicketRoomConsumer(WebsocketConsumer): })) def modify_online_user(self): - connections = TicketConnection.objects.filter(ticket=self.ticket, terminated_at__isnull=True) event = { 'type': 'user_connection_handler', 'user': self.user, - 'connections': connections, } async_to_sync(self.channel_layer.group_send)( self.ticket_number, event @@ -182,7 +180,6 @@ class TicketRoomConsumer(WebsocketConsumer): def user_connection_handler(self, event): context = { - 'connections': event['connections'], 'user': event['user'] } html = render_to_string("details_templates/partials/ticket-online-users.html", context=context)