mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Add in padUsersCount method and API call
The PadMessageHandler objects now have a new API call associated with them. I'm sure that's a funny place to put it, but the pad2sessions object in that file seems to be the only place user counts are stored! Anyway, I hope this is helpful. I know it would be for me :)
This commit is contained in:
parent
c0c820c760
commit
a71a8a7efc
3 changed files with 14 additions and 1 deletions
|
@ -65,7 +65,8 @@ var functions = {
|
|||
"getPublicStatus" : ["padID"],
|
||||
"setPassword" : ["padID", "password"],
|
||||
"isPasswordProtected" : ["padID"],
|
||||
"listAuthorsOfPad" : ["padID"]
|
||||
"listAuthorsOfPad" : ["padID"],
|
||||
"padUsersCount" : ["padID"]
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue