mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-10 00:45:01 -04:00
Merge 44878bc0a3
into a42b2440ba
This commit is contained in:
commit
e25454aea5
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var chat = require('./chat').chat;
|
var chat = require('./chat').chat;
|
||||||
|
var hooks = require('./pluginfw/hooks');
|
||||||
|
|
||||||
// Dependency fill on init. This exists for `pad.socket` only.
|
// Dependency fill on init. This exists for `pad.socket` only.
|
||||||
// TODO: bind directly to the socket.
|
// TODO: bind directly to the socket.
|
||||||
|
@ -337,6 +338,7 @@ function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad)
|
||||||
{
|
{
|
||||||
callbacks.onServerMessage(msg.payload);
|
callbacks.onServerMessage(msg.payload);
|
||||||
}
|
}
|
||||||
|
hooks.callAll('handleClientMessage_' + msg.type, {payload: msg.payload});
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateUserInfo(userInfo)
|
function updateUserInfo(userInfo)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue