consolidate around data.content instead of message
modified: app.py modified: templates/chat.html
This commit is contained in:
parent
b778c7e53c
commit
caa4cd234f
2 changed files with 5 additions and 6 deletions
2
app.py
2
app.py
|
|
@ -132,7 +132,7 @@ def on_join(data):
|
|||
{
|
||||
"id": message.id,
|
||||
"username": message.username,
|
||||
"message": message.content,
|
||||
"content": message.content,
|
||||
},
|
||||
room=request.sid,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue