From 82c6b956298c1ef9c9e9dbba328a3faef08ee90f Mon Sep 17 00:00:00 2001 From: emile Date: Fri, 12 Jul 2024 10:46:31 +0300 Subject: [PATCH] new; --- osinaweb/db.sqlite3 | Bin 1560576 -> 1560576 bytes .../__pycache__/consumers.cpython-310.pyc | Bin 7326 -> 7317 bytes osinaweb/support/consumers.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index 47991b886c7d0be2335a5069e6e583d466fdd6ed..dfac1f40a32617039c740476b1f6c3a139c8324c 100644 GIT binary patch delta 88 zcmV~$u@!psZ iQ&=Yd;Fo1&oh&AxKG{jYfRS@@v4AHd%jUfT54iy|*Azo(> zBpGTLQ&{IP*D{r`0!7%e*qa%FG)E0nGZQ023PUi1Cfj5o0d>|QPM|rHEd>l1MJ8tn NcrtQq-Xidj8vr>`8e#wd diff --git a/osinaweb/support/consumers.py b/osinaweb/support/consumers.py index 3c9155cb..5051ff68 100644 --- a/osinaweb/support/consumers.py +++ b/osinaweb/support/consumers.py @@ -172,7 +172,7 @@ class TicketRoomConsumer(WebsocketConsumer): connections = TicketConnection.objects.filter(ticket=self.ticket, terminated_at__isnull=True) event = { 'type': 'user_connection_handler', - 'user': self.scope['user'], + 'user': self.user, 'connections': connections, } async_to_sync(self.channel_layer.group_send)(