mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Add userLeave hook
This commit is contained in:
parent
bc5dc74f90
commit
9dd6471921
1 changed files with 3 additions and 0 deletions
|
@ -633,6 +633,9 @@ var paduserlist = (function()
|
|||
otherUsersInfo.splice(newExistingIndex, 1);
|
||||
otherUsersData.splice(newExistingIndex, 1);
|
||||
rowManager.removeRow(newExistingIndex);
|
||||
hooks.callAll('userLeave', {
|
||||
userInfo: info
|
||||
});
|
||||
updateInviteNotice();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue