mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-04 19:56:37 +02:00
docs: correct name for callback function
This commit is contained in:
parent
ba7d80fa57
commit
83e28ec031
@ -542,7 +542,7 @@ exports.handleMessage = (hookName, {message, socket}, callback) => {
|
||||
const user = socket.client.request.session.user || {};
|
||||
if (user.name) message.data.userInfo.name = user.name;
|
||||
}
|
||||
return cb();
|
||||
return callback();
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user