mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
add comment about automatically leaving rooms
This commit is contained in:
parent
40353a410f
commit
616014e05d
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ module.exports = RoomManager =
|
|||
|
||||
leaveProjectAndDocs: (client) ->
|
||||
# what rooms is this client in? we need to leave them all
|
||||
# FIXME: socket.io will cause us to leave the rooms, so we only need
|
||||
# to manage our channel subscriptions
|
||||
for id in @_roomsClientIsIn(client)
|
||||
entity = IdMap.get(id)
|
||||
@_leave client, entity, id
|
||||
|
|
Loading…
Reference in a new issue