diff --git a/osinaweb/support/__pycache__/consumers.cpython-310.pyc b/osinaweb/support/__pycache__/consumers.cpython-310.pyc index fb218f63..e173e91a 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 6651fddf..84a6b26b 100644 --- a/osinaweb/support/consumers.py +++ b/osinaweb/support/consumers.py @@ -181,12 +181,13 @@ class TicketRoomConsumer(WebsocketConsumer): def user_connection_handler(self, event): context = { - 'connections': event['connections'], - 'user': event['user'] + 'connections': event['c--onnections'], + 'user': event['--user'] } - + html = render_to_string("details_templates/partials/ticket-online-users.html", context=context) self.send(text_data=json.dumps({ 'event_type': 'user_status', + 'html': html }))