Minor Edit and clear one file
This commit is contained in:
@ -31,6 +31,7 @@ class ChatConsumer(WebsocketConsumer):
|
||||
|
||||
self.send(text_data=json.dumps({
|
||||
'type':'chat',
|
||||
'username':self.scope["user"].pk,
|
||||
'message':message
|
||||
}))
|
||||
|
||||
|
Reference in New Issue
Block a user