mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
clean
This commit is contained in:
parent
7db3ad7a1e
commit
ace446a27d
1 changed files with 1 additions and 1 deletions
|
@ -1251,7 +1251,7 @@ const _getRoomSockets = (padID: string) => {
|
|||
// it does here, but synchronously to avoid a race condition. This code will have to change when
|
||||
// we update to socket.io v3.
|
||||
const room = ns.adapter.rooms?.get(padID);
|
||||
|
||||
|
||||
if (!room) return [];
|
||||
|
||||
return Array.from(room)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue