mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 06:26:10 -04:00
Renames message event to chat_message
This commit is contained in:
parent
7f846ae2fd
commit
6031f36185
2 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ class ChatModeWeb:
|
|||
"""Sent by a client when the user entered a new message.
|
||||
The message is sent to all people in the server."""
|
||||
emit(
|
||||
"message",
|
||||
"chat_message",
|
||||
{"username": session.get("name"), "msg": message["msg"]},
|
||||
broadcast=True,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue