Browse Source

add comment about automatically leaving rooms

Brian Gough 7 năm trước cách đây
mục cha
commit
616014e05d
1 tập tin đã thay đổi với 2 bổ sung và 0 xóa
  1. 2 0
      services/real-time/app/coffee/RoomManager.coffee

+ 2 - 0
services/real-time/app/coffee/RoomManager.coffee

@@ -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