emile 10 months ago
parent 5660c51589
commit 51745f650c

@ -184,9 +184,9 @@ class TicketRoomConsumer(WebsocketConsumer):
'connections': event['connections'],
'user': event['user']
}
html = render_to_string("details_templates/partials/recently-online.html", context=context)
html = render_to_string("details_templates/partials/ticket-online-users.html", context=context)
self.send(text_data=json.dumps({
'event_type': 'user_status',
'event_type': 'useer_status',
'html': html
}))

Loading…
Cancel
Save