mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
chat: Move chat message handling to handleMessage
hook
This commit is contained in:
parent
a177a622c4
commit
8d5fdd7dc9
6 changed files with 87 additions and 51 deletions
|
@ -1086,7 +1086,7 @@ exports.userLeave = async (hookName, {author, padId}) => {
|
|||
|
||||
## `chatNewMessage`
|
||||
|
||||
Called from: `src/node/handler/PadMessageHandler.js`
|
||||
Called from: `src/node/chat.js`
|
||||
|
||||
Called when a user (or plugin) generates a new chat message, just before it is
|
||||
saved to the pad and relayed to all connected users.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue