mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-10 17:22:00 -04:00
PadMessageHandler: Modernize userLeave
hook context properties
This commit is contained in:
parent
a6d060d67b
commit
9aaf781548
3 changed files with 15 additions and 13 deletions
|
@ -33,6 +33,11 @@
|
|||
for an example fix.
|
||||
* The `clientReady` server-side hook is deprecated; use the new `userJoin`
|
||||
hook instead.
|
||||
* The `userLeave` server-side hook's context properties have changed:
|
||||
* `auth`: Deprecated.
|
||||
* `author`: Deprecated; use the new `authorId` property instead.
|
||||
* `readonly`: Deprecated; use the new `readOnly` property instead.
|
||||
* `rev`: Deprecated.
|
||||
|
||||
### Notable enhancements
|
||||
|
||||
|
@ -41,6 +46,7 @@
|
|||
* `clientVars` was added to the context for the `postAceInit` client-side
|
||||
hook. Plugins should use this instead of the `clientVars` global variable.
|
||||
* New `userJoin` server-side hook.
|
||||
* The `userLeave` server-side hook has a new `socket` context property.
|
||||
|
||||
# 1.8.14
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue